Re: A newbie implementation of partition-by with lazy-seq

2009-03-18 Thread atreyu
oppps sorry i suppose something is wrong with my svn client and the update didnt work,,thanks On 18 mar, 17:56, "Stephen C. Gilardi" wrote: > On Mar 18, 2009, at 12:35 PM, atreyu wrote: > > > Hi, to get compiled clj-contrib with the lastest version of clojure i > > had to rewrite partition-by an

Re: A newbie implementation of partition-by with lazy-seq

2009-03-18 Thread Stephen C. Gilardi
On Mar 18, 2009, at 12:35 PM, atreyu wrote: Hi, to get compiled clj-contrib with the lastest version of clojure i had to rewrite partition-by and replace lazy-cons with lazy-seq. I think its wrong but it works! The current svn head of clojure-contrib works with the current svn head of cloju

A newbie implementation of partition-by with lazy-seq

2009-03-18 Thread atreyu
Hi, to get compiled clj-contrib with the lastest version of clojure i had to rewrite partition-by and replace lazy-cons with lazy-seq. I think its wrong but it works! umbly i wait yours corrections (defn partition-by "Applies f to each value in coll, splitting it each time f returns a new v