mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 20:47:25 +03:00
7 lines
143 B
Plaintext
7 lines
143 B
Plaintext
U60.from_nat
|
|
: ∀(n: Nat) #U60
|
|
= λn
|
|
let P = λx #U60
|
|
let succ = λn.pred #(+ #1 (U60.from_nat n.pred))
|
|
let zero = #0
|
|
(~n P succ zero) |