possible errors in ns documentation

2010-02-25 Thread j1n3l0
Hi all, I'm not sure if this is the right place to raise this. I am new to clojure and was going through the docs for namespaces here: http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/ns In the example there it implies that the way to import functions into your namespace

Re: possible errors in ns documentation

2010-02-25 Thread Meikel Brandmeyer
Hi, On Feb 24, 10:17 pm, j1n3l0 nelo.ony...@googlemail.com wrote: (ns foo   (:use some.lib)) This works find for me. Sincerely Meikel -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com

Re: possible errors in ns documentation

2010-02-25 Thread Sean Devlin
What Clojure version are you using? On Feb 24, 4:17 pm, j1n3l0 nelo.ony...@googlemail.com wrote: Hi all, I'm not sure if this is the right place to raise this. I am new to clojure and was going through the docs for namespaces here:

Re: possible errors in ns documentation

2010-02-25 Thread j1n3l0
Please forgive my mistake. I missed out a set of parentheses in there. It should be something like this: (ns foo (:use (some.lib))) There are othe scenarios of different use cases: ;; see link for example http://github.com/technomancy/leiningen/blob/master/src/lancet.clj (ns foo (:use