On Friday, April 25, 2014 9:48:10 AM UTC-5, Greg D wrote:
>
> Thanks Alex and Steve,
>
> I've based a ton of work on keywords where the second character is numeric.
>
> The http://clojure.org/readers page should be the normative reference.
>>
>
> The work is based on *reliance* on the definitions in the readers page. I 
> believe it is unambiguous in demanding a colon as the first character of a 
> keyword, and allowing the second character to be numeric.
>

Well I'll contend it is at least ambiguous because I read it differently. 
:) I think everyone can agree that keywords begin with a colon. My 
understanding is that symbols and keywords share naming rules as a result 
of "Keywords are like symbols". I think the interpretation depends on 
whether you see the ":" as being part of the name; I would say not (that's 
how keywords are represented in print form but the : is not stored or 
returned as part of the namespace or name). Symbols and keywords share the 
same symbolPat regex in LispReader with I believe the same intent for 
allowed names.
 

> I am frightened that opinions differ; especially Rich's, obviously.
>

I think at this point it is unlikely that "keywords starting with numbers" 
are going to become invalid (and I would like to formalize that in the 
reader page). Even if the reader could not read them, keywords 
(intentionally) can be created that cannot be read by the reader via the 
"keyword" function and this is a widely used feature. 


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

Reply via email to