RFC: Should Data.IntMap.Strict be value-strict in the function arguments or the map itself
johan.tibell at gmail.com
Thu Oct 27 19:51:12 CEST 2011
On Thu, Oct 27, 2011 at 10:35 AM, Milan Straka <fox at ucw.cz> wrote:
> > I think option 2 is bad as it gives users no way to know which functions
> > strict in their value argument without knowing the implementation or us
> > documenting every function with the strictness properties. We could do
> > latter but the API would be simpler if we just said that all functions
> > strict in their key and value arguments.
> This is even a problem of current API. Although most of the functions
> are strict in keys, it is not mentioned at any place in the
That's mostly an oversight. After we agreed a while back that the API should
be consistently key strict I intended to update the documentation, but never
got around to it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries