Created
September 17, 2010 07:32
-
-
Save Koitaro/583877 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
| definition module AltEnv | |
| ($) infixr 1 :: (a -> b) a -> b | |
| S :: (a b -> c) (a -> b) a -> c | |
| Y :: (a -> a) -> a |
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
| implementation module AltEnv | |
| ($) infixr 1 :: (a -> b) a -> b | |
| ($) f a = f a | |
| S :: (a b -> c) (a -> b) a -> c | |
| S f g x = f x (g x) | |
| Y :: (a -> a) -> a | |
| Y x = x (Y x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment