2014-06-18 20:55:48 +00:00
|
|
|
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}
|
2014-08-07 23:59:08 +00:00
|
|
|
end list
|
2014-06-18 20:55:48 +00:00
|
|
|
|
|
|
|
check list.list.{1}
|