Proposal: strictify foldl'
David Feuer
david.feuer at gmail.com
Mon Nov 3 17:39:32 UTC 2014
On Mon, Nov 3, 2014 at 12:35 PM, Niklas Hambüchen <mail at nh2.me> wrote:
> On 03/11/14 18:16, Henning Thielemann wrote:
> > If 'seq' is faster than 'deepseq' it leaves things unevaluated and thus
> > builds up unevaluated expressions, right?
>
> Yes.
>
Not necessarily in a bad way. If I forcefully insert something at the end
of a lazy finger tree, say, that won't force the entire structure of the
tree, but it will force the root, which I believe is sufficient to prevent
unbroken thunk nests, and probably what you'd actually want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141103/76dde93a/attachment.html>
More information about the Libraries
mailing list