Created
November 20, 2017 14:08
-
-
Save irtaylor/44e7d03c1aa9d5f82abb9be532288d3c to your computer and use it in GitHub Desktop.
implementation (from memory) of the applicative order 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
; Applicative Order Y-Combinator | |
(define Y | |
(lambda (f) | |
((lambda (x) (x x)) | |
(lambda (x) (f (lambda (y) ((x x) y))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment