mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 19:47:15 +03:00
10 lines
135 B
Plaintext
10 lines
135 B
Plaintext
Nat.half
|
|
: ∀(n: Nat)
|
|
Nat
|
|
= λn
|
|
(~n λx(Nat)
|
|
λn (~n λx(Nat)
|
|
λn (Nat.succ (Nat.half n))
|
|
Nat.zero)
|
|
Nat.zero)
|