Proposal: Add a strict version of foldlWithKey to Data.Map

Ian Lynagh igloo at
Sun Aug 22 18:33:27 EDT 2010

On Mon, Aug 23, 2010 at 12:23:52AM +0200, Johan Tibell wrote:
> On Sun, Aug 22, 2010 at 2:47 PM, Ian Lynagh <igloo at> wrote:
> > Well, if there's a GHC code performance bug then we should fix it, but I
> > don't think we should use a workaround in the libraries that gives a
> > function the wrong strictness.
> >
> The generated core has the strictness we want

In your example, yes, but if f ignores its first argument then it


More information about the Libraries mailing list