blob: 735c9b75eb6b5e98036c106063ef47c2529ab45a [file]
import Lean
open Lean Elab Tactic
/-- info: hello world -/
#guard_msgs in
run_cmd logInfo m!"hello world"
/-- info: ! -/
#guard_msgs in
run_cmd unsafe do logInfo "!"
example : True := by
run_tac
evalApplyLikeTactic MVarId.apply (← `(True.intro))
example : True := by_elab
Term.elabTerm (← `(True.intro)) none