Data.IntMap.Strict.findWithDefault is too strict
johan.tibell at gmail.com
Mon Dec 17 08:55:18 CET 2012
On Sun, Dec 16, 2012 at 5:02 PM, Edward Z. Yang <ezyang at mit.edu> wrote:
> Excerpts from Johan Tibell's message of Mon Dec 17 05:17:22 +0800 2012:
>> We still need a clear policy how to handle these kind of function and
>> other functions that don't directly insert things into maps (e.g.
> Strictness of accumulators is something of an orthogonal issue to
> strictness of the maps; i.e. a strict fold can be useful for both
> strict and lazy maps.
I know. I'm trying to communicate that we ought to be thinking about
the library holistically, not from the perspective of a single
function that happens to not fulfill someones use case at some given
More information about the Libraries