Created
March 17, 2015 12:21
-
-
Save b4284/84200dc2f2cf30c229b0 to your computer and use it in GitHub Desktop.
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
(define reverse2 | |
(lambda (i) | |
(((lambda (x) (x x)) | |
(lambda (f) | |
(lambda (a b) | |
(if (null? a) | |
b | |
((f f) (cdr a) (cons (car a) b)))))) | |
i '()))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment