lean2/tests/lean/run/ind1.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

7 lines
No EOL
133 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}