mirror of
https://github.com/lisk77/lambda.git
synced 2025-10-24 18:28:49 +00:00
chore: renamed the examples
This commit is contained in:
parent
9ff3943819
commit
199251ec6b
3 changed files with 0 additions and 0 deletions
|
|
@ -1,12 +0,0 @@
|
|||
pair = \ x y z . z x y;
|
||||
|
||||
first = \ p . p (\ x y . x);
|
||||
second = \ p . p (\ x y . y);
|
||||
|
||||
cons = pair;
|
||||
head = first;
|
||||
tail = second;
|
||||
nil = \ x y . y;
|
||||
isNil = \ l . l (\ h t d . (\ x y . y)) (\ x y . x);
|
||||
|
||||
main = first (pair a b);
|
||||
Loading…
Add table
Add a link
Reference in a new issue