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