Data.IntMap.Strict.findWithDefault is too strict

Johan Tibell johan.tibell at gmail.com
Sun Dec 16 09:59:36 CET 2012


On Sat, Dec 15, 2012 at 1:39 AM, Milan Straka <fox at ucw.cz> wrote:
> Is this something users of containers would prefer to the current
> properties? If someone thinks so, we could create a separate proposal to
> see what do the users wants or if they care.

I think any proposal should specify rules for how to define strictness
for all (~150 functions) in the API. We need a policy that's easy to
define and remember. The original split into a Lazy and Strict was
done because Haskellers, even experienced ones, used the API
incorrectly (e.g. using insertWith when insertWith' was called for).

-- Johan



More information about the Libraries mailing list