Re: The empty string can become a symbol, but it can't be resolved

2016-02-02 Thread Herwig Hochleitner
While there is no reader syntax for the empty symbol, I agree that the StringIndexOutOfBoundsException is wonky and should be fixed. Though some might view it as a consequence of clojure's GIGO philosophy, I don't concur with such arguments, because the separation of read and eval is there for a

The empty string can become a symbol, but it can't be resolved

2016-02-02 Thread SanjayL
Ran into this weird case while writing some test code: user=> (symbol "") user=> (symbol? (symbol "")) true user=> (ns-resolve *ns* (symbol "")) StringIndexOutOfBoundsException String index out of range: 0 java.lang.String.charAt (String.java:658) I'm guessing that the ghost symbol should