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