Re: lazy-cons

2010-03-20 Thread alux
y well...hahhaha.  The first solution on that page  defines the > > following function: > > > > (defn select-dir [array x y ncol span fnx fny] > >   (when (not (zero? span)) > >     (lazy-cons > >       (array-get array x y ncol) > >       (select-dir array (fn

Re: lazy-cons

2010-03-20 Thread Jarkko Oranen
ray x y ncol span fnx fny] >   (when (not (zero? span)) >     (lazy-cons >       (array-get array x y ncol) >       (select-dir array (fnx x) (fny y) ncol (dec span) fnx fny > > Right off the bat, I am wondering what is lazy-cons?  I could not find > it in the api. That's bec

Re: lazy-cons

2010-03-20 Thread alux
; (defn select-dir [array x y ncol span fnx fny] > (when (not (zero? span)) > (lazy-cons > (array-get array x y ncol) > (select-dir array (fnx x) (fny y) ncol (dec span) fnx fny > > > Right off the bat, I am wondering what is lazy-cons? I could not find &g

lazy-cons

2010-03-20 Thread Glen Rubin
om/Problem+011 Unfortunately, I am so dumb I cannot even understand the solutions very well...hahhaha. The first solution on that page defines the following function: (defn select-dir [array x y ncol span fnx fny] (when (not (zero? span)) (lazy-cons (array-get array x y ncol)

Re: lazy-cons

2009-03-18 Thread Notfonk
om back in december I believe. > > On Wed, Mar 18, 2009 at 3:59 AM, Notfonk wrote: > > > Hey > > > i'm not sure this is the right place to post that > > > Could you please remove lazy-cons from the api doc ? I'm a newbie to > > clojure, and i may be a l

Re: lazy-cons

2009-03-18 Thread Kevin Downey
the api doc documents the latest release of clojure, which is the pre-lazy release from back in december I believe. On Wed, Mar 18, 2009 at 3:59 AM, Notfonk wrote: > > Hey > > i'm not sure this is the right place to post that > > Could you please remove lazy-cons from the

lazy-cons

2009-03-18 Thread Notfonk
Hey i'm not sure this is the right place to post that Could you please remove lazy-cons from the api doc ? I'm a newbie to clojure, and i may be a little dumb, but i spent 1 hour searching for it and wondering what was wrong before i saw in Clojure >> lazy that it was deprec