Hi!
I'm getting unexpected behavior trying to use binding and map. Here's
what happens.
(def *v*)
(defn fun [i] *v*)
(defn bv []
(binding [*v* 100]
(map fun [1 2])))
Evaluating (bv) throws "Var *v* is unbound exception". I expected it
to return (100 100).
Using the released Clojure 1.0.0-
Is this a bug?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---