add viewMin/Max
Have a function to get min/max element, remove it from the collection, and tolerate an empty collection (fail in a monad).
It will probably be added to the Map class.
refs: http://www.haskell.org//pipermail/libraries/2006-June/005446.html http://www.eecs.tufts.edu/~rdocki01/docs/edison/Data-Edison-Assoc.html
Trac metadata
Trac field | Value |
---|---|
Version | 6.5 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |