Yes, I think thats a naming restriction by the JVM.

On Mar 28, 11:57 am, Fred Concklin <fredconck...@gmail.com> wrote:
> in common lisp:> (setf x '((1st element) 2 (element 3) ((4)) 5))
>
> ((1ST ELEMENT) 2 (ELEMENT 3) ((4)) 5)
>
> in clojure:
> user> (def x '((1st element) 2 (element 3) ((4)) 5))
> java.lang.NumberFormatException: Invalid number: 1st
>   [Thrown class clojure.lang.LispReader$ReaderException]
>
> Looking into it
>
> user> '1s
> java.lang.NumberFormatException: Invalid number: 1s
>   [Thrown class clojure.lang.LispReader$ReaderException]
>
> user> 's1
> s1
>
> Is that intentional? I'm using 1.2
>
> fpc

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