darcs patch: Added Data.Map.insertWith'
jeanphilippe.bernardy at gmail.com
Wed Sep 6 04:13:46 EDT 2006
I had decided to add such a function, though I never had come to do it.
My only worry is that if you want a consistent API you'll need a bunch
of functions with a strict version.
On 9/5/06, John Goerzen <jgoerzen at complete.org> wrote:
> Tue Sep 5 13:11:49 CDT 2006 John Goerzen <jgoerzen at complete.org>
> * Added Data.Map.insertWith'
> Use of insertWith can lead to memory leaks. This function was
> suggested by Udo Stenzel at
> This type of algorithm solved a real problem discussed in this thread:
> Libraries mailing list
> Libraries at haskell.org
More information about the Libraries