lean4-htt/tests/lean/run/untrusted_examples.lean
2016-09-27 14:39:55 -07:00

11 lines
222 B
Text

open tactic
set_option pp.all true
meta example (m1 : tactic nat) (m2 : nat → tactic bool) : true :=
by do
m1 ← get_local `m1,
m2 ← get_local `m2,
b ← mk_app `monad.bind [m1, m2],
trace b,
constructor