Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
{if true then YES else NO}
|
||||
-> YES
|
||||
{if false then YES else NO}
|
||||
-> NO
|
||||
11
Task/Boolean-values/Lambdatalk/boolean-values-2.lambdatalk
Normal file
11
Task/Boolean-values/Lambdatalk/boolean-values-2.lambdatalk
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{def TRUE {lambda {:a :b} :a}}
|
||||
-> TRUE
|
||||
{def FALSE {lambda {:a :b} :b}}
|
||||
-> FALSE
|
||||
{def IF {lambda {:c :a :b} {:c :a :b}}}
|
||||
-> IF
|
||||
|
||||
{IF TRUE yes no}
|
||||
-> yes
|
||||
{IF FALSE yes no}
|
||||
-> no
|
||||
Loading…
Add table
Add a link
Reference in a new issue