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
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,
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
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
Hi.
I'm learning Clojure, currently using Clojure 1.2.
http://clojure.org/namespaces when talking about creating
namespaces says:
At the Repl it's best to use in-ns, in which case the new
namespace will contain mappings only for the classnames
in java.lang. In order to access the names from