Compare commits

..

No commits in common. "bc7565a1f70a42e446e5f1341ba8f13dec8f129c" and "b44ffb282a07d4246bd2a48786f915472be7a3e3" have entirely different histories.

View File

@ -6,6 +6,7 @@ type Nat
-- which will bring a recursor for the type into scope
-- rec[Nat] : A → (A → A) → Nat → A
-- defining addition as
add : Nat → Nat → Nat
:= rec[Nat] (λx. x) (λf n. succ (f n))