Re: clojure.zip - throws exception

2010-02-25 Thread Meikel Brandmeyer
Hi, On Feb 25, 4:19 pm, Amitava Shee wrote: > Just to solidify my understanding, can this be done in the default > namespace (of "user")? Yes. Instead of (ns foo.bar (:require [clojure.zip :as zip])) when setting up the foo.bar namespace you can just use require in the user namespace. However d

Re: clojure.zip - throws exception

2010-02-25 Thread Amitava Shee
Thank you - this really helped. To Sean's question - I am using 1.1.0 Just to solidify my understanding, can this be done in the default namespace (of "user")? -Amitava On Feb 25, 9:50 am, Meikel Brandmeyer wrote: > Hi, > > On Feb 24, 8:59 pm, Amitava Shee wrote: > > > I am getting the followi

Re: clojure.zip - throws exception

2010-02-25 Thread Tobias Hauth
Use require instead of use: (require '[clojure.zip :as zip]) Tobias On Wed, Feb 24, 2010 at 8:59 PM, Amitava Shee wrote: > I am getting the following exception while trying to use clojure.zip > > user=> (use '[clojure.zip :as zip]) > java.lang.IllegalStateException: next already refers to: > #'

Re: clojure.zip - throws exception

2010-02-25 Thread Meikel Brandmeyer
Hi, On Feb 24, 8:59 pm, Amitava Shee wrote: > I am getting the following exception while trying to use clojure.zip > > user=> (use '[clojure.zip :as zip]) > java.lang.IllegalStateException: next already refers to: > #'clojure.core/next in namespace: user (NO_SOURCE_FILE:0) > > What I am I missin

Re: clojure.zip - throws exception

2010-02-25 Thread Sean Devlin
Hmm... what versions of Clojure (and other libs) are you using? Sean On Feb 24, 2:59 pm, Amitava Shee wrote: > I am getting the following exception while trying to use clojure.zip > > user=> (use '[clojure.zip :as zip]) > java.lang.IllegalStateException: next already refers to: > #'clojure.core