lean4-htt/tests/lean/run/doc_string2.lean
Leonardo de Moura 6978906a78 chore(frontends/lean): remove namespace documentation
We will add module level doc strings /-! -/
2016-11-27 11:57:03 -08:00

16 lines
261 B
Text

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