Re: lazy sequence termination

2013-05-28 Thread Mond Ray
Thanks - I wasn't sure how much to assume so that's appreciated. I will definitely check for the correctness of the predicate vs the date - that would really be a face palm! OTOH I feel good that I'm actually writing sane Clojure code even if it is broken with my data ;-) Ray On Tuesday, 28 M

Re: lazy sequence termination

2013-05-28 Thread Michael Gardner
On May 28, 2013, at 15:05 , Mond Ray wrote: > Quite a few views but no bites ... what have I done wrong in asking this > question? If you can't help with the problem would you please take a moment > to help me understand what has put you off? It would help to post less code, to make it easier

Re: lazy sequence termination

2013-05-28 Thread Mond Ray
Ah ... client/get is part of the standard httpclient library so it's not my code - it fetches from a url. Sorry I should have included the libraries that I used. On Tuesday, May 28, 2013 10:33:52 PM UTC+2, nchurch wrote: > > Could you include the code in client/get? Not sure where that comes >

Re: lazy sequence termination

2013-05-28 Thread nchurch
Could you include the code in client/get? Not sure where that comes from and it would be helpful to run the code to see what happensno guarantees though =) On May 28, 1:05 pm, Mond Ray wrote: > Quite a few views but no bites ... what have I done wrong in asking this > question? If you can't

Re: lazy sequence termination

2013-05-28 Thread Mond Ray
Quite a few views but no bites ... what have I done wrong in asking this question? If you can't help with the problem would you please take a moment to help me understand what has put you off? Too much code not enough data? Problem too complex to grasp with the supplied info? Too dull? Am

lazy sequence termination

2013-05-28 Thread Mond Ray
Hi Clojurians, I have a program which generates a lazy sequence to read ATOM feed chunks. That part works OK but now I want to only take a limited number of the chunks based on some predicate. My predicate is currently returning an empty list so I think (hope!) I am missing something simple. H