On Sat, Mar 24, 2012 at 6:38 PM, Scott Jaderholm <jaderh...@gmail.com> wrote: > On Sat, Mar 24, 2012 at 1:44 AM, Cedric Greevey <cgree...@gmail.com> wrote: >> As for the aesthetics, what I like about {{...}} is that the >> delimiters are symmetrical, unlike #{...}, and it would allow one to >> reserve use of the # mark to, mostly, closures, so # would stand out >> more as typically indicating a lambda. > > Sorry to break it to you, but # is used in many places other than > lambdas, so even if you remove it from #{} you still have foo#, #^foo, > #^{foo bar}, #'foo, #"foo", #_foo, #foo{1 2}, #foo[1 2], and others > I've probably forgotten.
Along those lines, the # character is the "dispatch macro [which] causes the reader to use a reader macro from another table, indexed by the character following #" So, it's a little more than just syntactic sugar. http://clojure.org/reader -- 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