Re: Not Your Daddy's Namespaces

2008-11-02 Thread Bill Clementson
Hi Michael, On Sat, Nov 1, 2008 at 6:24 AM, Michael Wood <[EMAIL PROTECTED]> wrote: > > Hi > > On Wed, Oct 29, 2008 at 6:23 PM, bc <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I've posted a new article on my blog about Clojure Namespaces: >> http://bc.tech.coop/blog/081029.html >> >> I would ap

Re: Not Your Daddy's Namespaces

2008-11-01 Thread Michael Wood
Hi On Wed, Oct 29, 2008 at 6:23 PM, bc <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've posted a new article on my blog about Clojure Namespaces: > http://bc.tech.coop/blog/081029.html > > I would appreciate any comments/criticisms or additional insights. Your backslashes have gone missing in you

Re: Not Your Daddy's Namespaces

2008-10-29 Thread Bill Clementson
On Wed, Oct 29, 2008 at 1:20 PM, Rich Hickey <[EMAIL PROTECTED]> wrote: > > > > On Oct 29, 2:03 pm, "Bill Clementson" <[EMAIL PROTECTED]> wrote: >> Hi Stuart, >> >> Thanks, that's good to know - I didn't realize the ns macro did that! >> I just had a look at the docstring for ns: >> >> "Sets *ns*

Re: Not Your Daddy's Namespaces

2008-10-29 Thread Rich Hickey
On Oct 29, 2:03 pm, "Bill Clementson" <[EMAIL PROTECTED]> wrote: > Hi Stuart, > > Thanks, that's good to know - I didn't realize the ns macro did that! > I just had a look at the docstring for ns: > > "Sets *ns* to the namespace named by name (unevaluated), creating it > if needed. references

Re: Not Your Daddy's Namespaces

2008-10-29 Thread Bill Clementson
Hi Stuart, Thanks, that's good to know - I didn't realize the ns macro did that! I just had a look at the docstring for ns: "Sets *ns* to the namespace named by name (unevaluated), creating it if needed. references can be zero or more of: (:refer-clojure ...) (:require ...) (:use ...) (:imp

Re: Not Your Daddy's Namespaces

2008-10-29 Thread Stuart Halloway
Hi Bill, Good stuff. You might also mention that when you actually switch to a namespace using the ns macro, clojure gets referred, giving you a bunch more stuff: (create-ns 'test) #=(find-ns test) user=> (count (ns-map 'test)) 96 user=> (ns test) nil test=> (ns user) nil user=> (count (ns

Not Your Daddy's Namespaces

2008-10-29 Thread bc
Hi all, I've posted a new article on my blog about Clojure Namespaces: http://bc.tech.coop/blog/081029.html I would appreciate any comments/criticisms or additional insights. Thanks, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed