On Sep 23, 2016 4:40 PM, <tabcomput...@gmail.com> wrote: > > > > On Friday, September 23, 2016 at 4:22:04 PM UTC-4, tbc++ wrote: >> >> >> So that would be my rationale for it..it's easy to see by the first character of a term what data structure the term will become ( https://en.wikibooks.org/wiki/Learning_Clojure/Reader_Macros). And that's just one of many reasons (without even mentioning backwards compatibility), postfix colons on keywords will never happen. >> > > Just to clear, I'm not suggesting that the current notation go away. Breaking backwards compatibility would be nuts, of course. Just wonder if the alternative notation could *also* be supported. >
anything is possible, except for this. ;) what should the reader do when it encounters "foo:"? "Symbols beginning or ending with ':' are reserved by Clojure. A symbol can contain one or more non-repeating ':'s." note that foo: is not a symbol. once you get the hang of clojure you will drop the idea that {foo: 1} is more expressive than {:foo 1}. It's kinda like getting over the parentheses. gregg > I think I found the relevant source code ( https://github.com/clojure/clojure/blob/d274b2b96588b100c70be065f949e1fdc9e7e14d/src/jvm/clojure/lang/LispReader.java#L396). Looking at that it seems at least plausible. > > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.