Is the function of the "filter identity" call to make (map isInteresting pixels) a lazy sequence? I thought that the sequences map returned were already lazy, but I could be mistaken.
On Jun 12, 8:56 am, CuppoJava <patrickli_2...@hotmail.com> wrote: > Hi Vlad, > I would approach it like this, and make full use of Clojure's lazy > sequences: > > (count (take-while belowCount (filter identity (map isInteresting > pixels)))) > > -Patrick --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---