Created
November 7, 2017 00:42
-
-
Save menduz/657b9d2519d40d9996dc4d1e27ca2517 to your computer and use it in GitHub Desktop.
DataWeave Y Combinator
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
fun Y(f) = do { | |
var x = | |
((h) -> (arguments) -> using(g = f(h(h))) g(arguments)) | |
(((h) -> (arguments) -> using(g = f(h(h))) g(arguments))) | |
--- | |
f(x) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment