mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 19:37:08 +03:00
9 lines
150 B
Plaintext
9 lines
150 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)
|