On Thu, Oct 18, 2012 at 4:22 PM, Grant Rettke <gret...@acm.org> wrote:
> > When you use def inside a defn is it equivalent to a let binding like this? > > (defn foo [] > (def a 1) > (println a)) > > (defn foo [] > ((fn [a] > (println a)) 1)) Not equivalent. -- 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