Hi,

According to http://clojure.org/reader:

> Keywords are like symbols, except:
>
>          o They can and must begin with a colon, e.g. :fred.
>          o They cannot contain '.' or name classes.

This is what I get using the latest SVN revision (1211):

user=> (keyword? :String)
true
user=> (keyword? :a.b.c)
true
user=> (keyword? :java.lang.Integer)
true
user=>

Shouldn't this throw an exception? It seems that keywords aren't
checked for correctness at all right now.

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to