> uh, it's going to do what you expect... > > user=> (def % partial) > #'user/% > user=> (map #(inc %) [1 2 3]) > (2 3 4)
My point was that you have overloaded the meaning of the % symbol. If someone says "what does % mean in clojure". You can say "it's shorthand for the first argument in the shorthand version of the anonymous function definition.", now you have to say "well it depends on the scope" Please, don't ever take reader macros and re-define them out of scope to mean something else. It just confuses people and makes the code harder to read. Timothy -- 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