lean4-htt/tests/lean/run/doc_string2.lean
2017-03-09 18:41:19 -08:00

16 lines
257 B
Text

/-- Documentation for inductive foo -/
inductive foo
| val1 | val2
namespace foo
/-- Documentation for x -/
def x := 10
end foo
open tactic
run_cmd do
trace "--------",
doc_string `foo >>= trace,
trace "--------",
doc_string `foo.x >>= trace