Last active
October 11, 2018 14:13
-
-
Save evacchi/22c5ae7d671725545b9e18d1b4dc3873 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| Y: | |
| function(F) { | |
| ll: function(x) F(function(y) {l:x(x), r: l(y)}.r ), | |
| rr: ll( function(x) F(function(y) {l:x(x), r: l(y)}.r) ) | |
| }.rr, | |
| FactGen: | |
| function(fact) function(n) if n=0 then 1 else n*fact(n-1), | |
| Fact: Y(FactGen), | |
| R: Fact(10) | |
| }.R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
l:x(x)line 4, there is no function namedxin scope?