mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:56:48 +03:00
9 lines
129 B
Plaintext
9 lines
129 B
Plaintext
List.cons
|
|
: ∀(T: *)
|
|
∀(head: T)
|
|
∀(tail: (List T))
|
|
(List T)
|
|
= λT λhead λtail
|
|
~λP λcons λnil
|
|
(cons head tail)
|