Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
binding over map function
(defn it-works []
(binding [*connection* "hello, world"]
(prn *connection*)))
(defn it-works-not []
(binding [*connection* "hello, world"]
(map
(fn [_] (prn user/*connection*))
[1 2])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.