Created
May 25, 2011 00:59
-
-
Save Xodarap/990106 to your computer and use it in GitHub Desktop.
Haskell 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
-- | Y combinator. Note that this doesn't actually compile in Haskell, but it's simpler | |
-- than the one which works | |
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