[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: John Cowan
Subject: Re: [Chicken-users] Strange memory leak with lazy-seq
Date: Mon, 23 Feb 2015 18:59:04 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

Kooda scripsit:

> (define (complex-stream seq)
>   (lazy-map identity seq))

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

John Cowan        address@hidden
Where the wombat has walked, it will inevitably walk again.
   (even through brick walls!)

reply via email to

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