lean4-htt/tests/lean/trace2.lean
2016-07-29 13:03:23 -07:00

20 lines
307 B
Text

open tactic
declare_trace foo.bla
example : true :=
by do
when_tracing `foo.bla $ do {
trace "hello",
trace "world" },
constructor
set_option trace.foo.bla true
print "------------"
example : true :=
by do
when_tracing `foo.bla $ do {
trace "hello",
trace "world" },
constructor