Dear Clojurians, Consider the following three simple functions:
(defn foo [] 42) (defn bar [] 44) (defn baz [s] (map (fn [_] (foo)) s)) Now let's rebind foo to bar: user=> (binding [foo bar] (foo)) 44 ;; Just as I expected. user=> (binding [foo bar] (baz [1 2 3])) (42 42 42) ;; while I would expect (44 44 44). Am I missing something here? Thanks, -Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---