lean2/tests/lean/run/ind7.lean

11 lines
199 B
Text

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