2014-06-18 20:55:48 +00:00
|
|
|
inductive list (A : Type) : Type :=
|
2015-02-26 01:00:10 +00:00
|
|
|
| nil : list A
|
|
|
|
| cons : A → list A → list A
|
2014-09-04 23:36:06 +00:00
|
|
|
namespace list end list open list
|
2014-06-18 20:55:48 +00:00
|
|
|
check list.{1}
|
|
|
|
check cons.{1}
|
2014-09-04 22:03:59 +00:00
|
|
|
check list.rec.{1 1}
|