Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created August 18, 2013 14:19
Show Gist options
  • Save kaosf/6261886 to your computer and use it in GitHub Desktop.
Save kaosf/6261886 to your computer and use it in GitHub Desktop.
A difference of between -> and ->> on Clojure 1.5.1
(->
1
((fn [x y] (+ x (* 10 y))) 2))
;-> 21
(->>
1
((fn [x y] (+ x (* 10 y))) 2))
;-> 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment