On Dec 19, 9:25 pm, Phil Hagelberg <p...@hagelb.org> wrote: > JSON as readable Clojure was discussed and shot down a while back, albeit > with a weirder > implementation:http://groups.google.com/group/clojure-dev/browse_thread/thread/5b066... > idea of colons having special treatment in the context of maps is > rather distasteful to me personally. > > -Phil
I agree, this horrifies me. It isn't even as simple as "letting them be whitespace", because presumably you want (read-string "{a: b}") to result in (hash-map 'a 'b), but (read-string "{a :b}") to result in (hash-map 'a :b). So you can't just say they're whitespace - you have to recognize the context they're in to decide what they attach to, if anything. The existing behavior is much cleaner. -- 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