Created
September 1, 2012 05:54
-
-
Save glorphindale/3565013 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
# C++ | |
Stage process(State state) { | |
return | |
stage4( | |
stage3( | |
stage2( | |
stage1( | |
stage)))); | |
} | |
# Python | |
def process(state): | |
return | |
stage4( | |
stage3( | |
stage2( | |
stage1( | |
state)))) | |
# Clojure | |
(defn process [state] | |
(-> state | |
stage1 | |
stage2 | |
stage2 | |
stage4)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment