Re: Resolution of in-ns in a namespace that does not refer clojure.core

2011-04-21 Thread Simon Katz
OK, thanks, will do. Simon On Thu, Apr 21, 2011 at 20:01, Stuart Halloway wrote: > Let's say that little surprises are not a design objective. :-) > > Please do follow up with additional questions as you have them. > > Stu > > Hi Stu. > > Thanks. That makes sense. > > Is this special-casing doc

Re: Resolution of in-ns in a namespace that does not refer clojure.core

2011-04-21 Thread Stuart Halloway
Let's say that little surprises are not a design objective. :-) Please do follow up with additional questions as you have them. Stu > Hi Stu. > > Thanks. That makes sense. > > Is this special-casing documented somewhere, or is it something one can only > discover by playing? More generally,

Re: Resolution of in-ns in a namespace that does not refer clojure.core

2011-04-21 Thread Simon Katz
Hi Stu. Thanks. That makes sense. Is this special-casing documented somewhere, or is it something one can only discover by playing? More generally, I'm wondering whether I'm likely to come across other areas with little surprises as I learn more. An example: I've been exploring special symbols

Re: Resolution of in-ns in a namespace that does not refer clojure.core

2011-04-21 Thread Stuart Halloway
Hi Simon, in-ns and ns are special cased for convenience. Usually in-ns is used to enter a namespace that has already been loaded, so that core names are available. For example: ;; in a file (ns my.ns) ;; stuff (comment (require 'my.ns) (in-ns 'my.ns) ;; tests ) Stu > Hi. > > I'm l