Ticket #792 (closed task: fixed)
add viewMin/Max
| Reported by: | jpbernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | libraries/base | Version: | 6.5 |
| Keywords: | collections | Cc: | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | N/A | Blocked By: | |
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
