16 lines
257 B
Text
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
|