Created
February 22, 2014 23:23
-
-
Save skatenerd/9163965 to your computer and use it in GitHub Desktop.
"Referential Transparency". Yep. Totally transparent.
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
(def kill-spaces #(clojure.string/replace % " " "")) | |
(-> "a b c" kill-spaces) | |
;"abc" | |
(-> "a b c" #(clojure.string/replace % " " "")) | |
;kaboom!!!!! |
trptcolin
commented
Feb 23, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment