lean2/tests/lean/run/ind1.lean
Leonardo de Moura bdab979e09 feat(frontends/lean): add inductive_cmd
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-18 16:00:59 -07:00

7 lines
No EOL
136 B
Text

inductive list (A : Type) : Type :=
| nil : list A
| cons : A → list A → list A
check list.{1}
check cons.{1}
check list_rec.{1 1}