Created
March 19, 2015 01:45
-
-
Save kephas/6f9847684fdc307bc003 to your computer and use it in GitHub Desktop.
Scheme's named let mockup in C++
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
nlet foo(count = 5) { | |
if(count != 0) { | |
cout << count << endl; | |
foo(count--); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment