Thanks.  I missed that when I was reading the reader documentation.

On Wed, Sep 10, 2008 at 5:48 PM, Stephen C. Gilardi <[EMAIL PROTECTED]> wrote:
>
> On Sep 10, 2008, at 5:37 PM, Ben Kearns wrote:
>
> user=> (in-ns '1foo)
> (in-ns '1foo)
> java.lang.NumberFormatException: Invalid number: 1foo
>
> Is there some reason that this is disallowed and should be avoided?
>
> Yes, the argument to in-ns is a symbol and symbol names cannot begin with a
> number. The reader will try to interpret a token that begins with a number
> as a number.
> Please see http://clojure.org/reader , Reader Forms, Symbol which includes:
> Symbols begin with a non-numeric character [...]
> --Steve
>
> >
>

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