darcs patch: Added Data.Map.insertWith'

John Goerzen jgoerzen at complete.org
Tue Sep 5 14:36:05 EDT 2006


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
  http://article.gmane.org/gmane.comp.lang.haskell.cafe/14864
  
  This type of algorithm solved a real problem discussed in this thread:
  
  http://thread.gmane.org/gmane.comp.lang.haskell.cafe/14852
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 34150 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org//pipermail/libraries/attachments/20060905/66eee069/attachment-0001.bin


More information about the Libraries mailing list