First off, great language. I've not posted before but have been lurking a while and was at one of Rich's talks in NY a while back. I'm still getting my head around what is and isn't allowed in the language and ran across what I think is a bug either in my thinking or in the reader.
user=> (in-ns 'foo) (in-ns 'foo) #<Namespace: foo> user=> (in-ns '1foo) (in-ns '1foo) java.lang.NumberFormatException: Invalid number: 1foo java.lang.Exception: ReaderError:(7,1) Invalid number: 1foo at clojure.lang.LispReader.read(LispReader.java:163) at clojure.lang.Repl.main(Repl.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at jline.ConsoleRunner.main(ConsoleRunner.java:69) Caused by: java.lang.NumberFormatException: Invalid number: 1foo at clojure.lang.LispReader.readNumber(LispReader.java:201) at clojure.lang.LispReader.read(LispReader.java:120) at clojure.lang.LispReader$WrappingReader.invoke(LispReader.java:440) at clojure.lang.LispReader.readDelimitedList(LispReader.java:854) at clojure.lang.LispReader$ListReader.invoke(LispReader.java:783) at clojure.lang.LispReader.read(LispReader.java:129) ... 6 more Is there some reason that this is disallowed and should be avoided? Thanks. -b --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---