all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
1
Task/Y-combinator/REBOL/y-combinator-1.rebol
Normal file
1
Task/Y-combinator/REBOL/y-combinator-1.rebol
Normal file
|
|
@ -0,0 +1 @@
|
|||
Y: closure [g] [do func [f] [f :f] closure [f] [g func [x] [do f :f :x]]]
|
||||
2
Task/Y-combinator/REBOL/y-combinator-2.rebol
Normal file
2
Task/Y-combinator/REBOL/y-combinator-2.rebol
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fact*: closure [h] [func [n] [either n <= 1 [1] [n * h n - 1]]]
|
||||
fact: Y :fact*
|
||||
Loading…
Add table
Add a link
Reference in a new issue