Last active
May 24, 2016 07:16
-
-
Save saftacatalinmihai/090f2bdfa137743ab75f 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
( def enlightened 9001 ) | |
( defn alter | |
[state-of-mind] | |
( inc state-of-mind ) | |
) | |
( defn recursion-understood? | |
[state-of-mind] | |
( = state-of-mind enlightened))) | |
( defn understand-recursion | |
[state-of-mind] | |
( if ( recursion-understood? state-of-mind) | |
"Congratulations" | |
( understand-recursion ( alter state-of-mind)) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment