Data.IntMap.Strict.findWithDefault is too strict
johan.tibell at gmail.com
Sun Dec 16 22:17:22 CET 2012
On Sun, Dec 16, 2012 at 6:47 AM, Andreas Abel <andreas.abel at ifi.lmu.de> wrote:
> I think even if you
> - made all keys and values strict that could end up in the map
> - made all keys and values strict that could end up being compared to
> keys/values from a map
> then still there would be no reason to make the default argument in
> findWithDefault strict.
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.
More information about the Libraries