Hi John,

On 24 February 2015 00:59 CET, John Cowan wrote:

> Lazy-map isn't lazy, so you are basically generating an eager list
> processing each element, and discarding the whole mess.

that's not true, where did you get this idea?

One way to try for yourself:

  (lazy-head (lazy-drop 10 (lazy-map sqrt (lazy-numbers))))

  => 3.16227766016838

Moritz

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to