Can someone help clear up my confusion?

My problem started while working through Stuart Halloway's book (p.
52) where he builds up his 'index-filter' function.  This function
uses an 'indexed' function which he states is in clojure-contrib. The
API docs found on clujure-contrib's github page shows that 'indexed'
is found in 'clojure.contrib.seq.'  Stuart Campbell's response (below)
gives a link to a different API doc which does not contain a
'clojure.contrib.seq' package.  I found the 'indexed' function in the
seq-utils package and so it looked like it was moved at some point.
So my question is: is the documentation on the github page wrong or am
I confused about the various versions and/or branches of clojure-
contrib?

Thanks,
Tim

On Aug 20, 9:48 am, Tim McIver <tmci...@verizon.net> wrote:
> Hmm, yes that looks like it must be it.  Strange, because when I view
> the API docs from the github page:
>
> http://richhickey.github.com/clojure-contrib/
>
> there IS a seq library.  I guess it was removed.
>
> Thanks,
> Tim
>
> On Aug 19, 11:47 pm, Stuart Campbell <stu...@harto.org> wrote:
>
> > On 20 August 2010 11:52, Tim McIver <tmci...@verizon.net> wrote:
>
> > > Hello everyone.  Clojure noob here.  I apologize in advance for what
> > > may turn out to be a dumb question.  When trying to (use
> > > '[clojure.contrib.seq]) I get the following error:
>
> > > java.io.FileNotFoundException: Could not locate clojure/contrib/
> > > seq__init.class or clojure/contrib/seq.clj on classpath:
> > > (NO_SOURCE_FILE:1)
>
> > > which is strange because others succeed, like (use
> > > '[clojure.contrib.str-utils]).  I'm using Clojure 1.1.0 and Clojure-
> > > contrib 1.1.0, and clojure-contrib.jar is on the classpath.  Any help
> > > is appreciated.
>
> > According to the c.c 1.1
> > docs<http://richhickey.github.com/clojure-contrib/branch-1.1.x/index.html>,
> > there is no clojure.contrib.seq - perhaps you meant
> > clojure.contrib.seq-utils?

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to