-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Kamil Adam edited this page Aug 17, 2023
·
17 revisions
Welcome to the catculus wiki!
- Natural -> generated, for numbers we need defined
.(nil) and:(succ), so:- 0 is
. - 1 is
: . - 2 is
: (: .)
- 0 is
- Integer -> pair sign natural, sign is bool, plus is
false, minus istrue, so:- +0 is
, false . - -0 is
, true . - +1 is
, false (: .) - -1 is
, true (: .)
- +0 is
[,a ,b ,c ]
Desugared
(,a ,b ,c .)
, is V combinator
{
;val1 (a b)
;val2 (a b c)
val1 val2
}
Desugared
(
&(a b) \val1
&(a b c) \val2
val1 val2
)
`&` is `T` combinator