
2 Nov
2009
2 Nov
'09
11:56 p.m.
On Tue, Nov 03, 2009 at 12:43:41AM +0100, Twan van Laarhoven wrote:
The fact that a function can be written in terms of other things in the library is no excuse not to include it. If a program somewhere needs to find the smallest key in a map, then it should say so! findMin makes the intention of the programmer clear, while toAscList does not.
The safe alternative is minViewWithKey.