Proposal: Add a strict version of foldlWithKey to Data.Map
johan.tibell at gmail.com
Sun Aug 22 18:47:54 EDT 2010
On Mon, Aug 23, 2010 at 12:33 AM, Ian Lynagh <igloo at earth.li> wrote:
> 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 earth.li> wrote:
> > > Well, if there's a GHC code performance bug then we should fix it, but
> > > 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
That's a good point. Do you have an alternate definition in mind that would
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries