[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Strange memory leak with lazy-seq

From: Moritz Heidkamp
Subject: Re: [Chicken-users] Strange memory leak with lazy-seq
Date: Tue, 24 Feb 2015 11:20:28 +0100

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]