On Fri, Mar 23, 2012 at 8:44 PM, Cedric Greevey <cgree...@gmail.com> wrote:
> #{foo bar baz} is somewhat ugly. It occurs to me that one could modify
> the reader to additionally accept
>
> {{foo bar baz}}
My concern is that {{1 2 3 4}5} is currently legal - a map with a map
as a key and 5 as the value. That means that the reader couldn't tell
if {{ introduced your set notation or the start of a nested map
without looking arbitrarily far ahead. And that problem gets worse if
you encounter {{{ or {{{{ or... {{{ could introduce a nested map, a
map of your sets or one of your sets containing a map...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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

Reply via email to