12 lines
189 B
Text
12 lines
189 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
|
||
|
|
||
|
check list.list.{1}
|