Re: Unqualified symbol resolution during evaluation

2018-08-20 Thread Colin Fleming
Note that the doc on that page says: Note that class names normally denote class objects, but are treated > specially in certain special forms, e.g. . and new. > Basically, only a class makes sense as the first argument to new, and I suspect new doesn't use the standard symbol resolution. On Mon

Unqualified symbol resolution during evaluation

2018-08-19 Thread codelimner
I am trying to follow the rules for unqualified symbol resolution as listed at https://clojure.org/reference/evaluation According to those rules, if my symbol is mapped to a class name in the current namespace, then that should override any (hopefully, accidental) local bindings of the same sym