On Fri, Jun 12, 2009 at 12:35 PM, joshua-choi <[email protected]> wrote:

>
> 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.


I believe the idea is that mapping isInteresting over pixels will produce a
lazy sequence of true/false values, eg. (true true false ...) or, if it
returns a measure of the interestingness of a pixel, (0.75 0.32 nil ...).
Then, the filter on identity will strip out any* false/nil values, leaving
only the interesting pixels to count.

HTH,

- J.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to