Skip to content

Instantly share code, notes, and snippets.

@glorphindale
Created September 1, 2012 05:54
Show Gist options
  • Save glorphindale/3565013 to your computer and use it in GitHub Desktop.
Save glorphindale/3565013 to your computer and use it in GitHub Desktop.
К вопросу о скобках в лиспах
# 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