Created
April 14, 2013 11:18
-
-
Save kt3k/5382341 to your computer and use it in GitHub Desktop.
Implementation of combinators in CoffeeScript is very natural!
This file contains 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
S = (X) -> (Y) -> (x) -> X(x)(Y(x)) | |
K = (X) -> (x) -> X | |
I = (x) -> x | |
Y = (f) -> ((x) -> f(x(x)))((x) -> f(x(x))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment