lean2/tests/lean/run/ind7.lean
Leonardo de Moura a5f0593df1 feat(*): change inductive datatype syntax
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-22 15:46:10 -07:00

11 lines
191 B
Text

namespace list
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}
end list
check list.list.{1}