logo       

[GHC] #792: add viewMin/Max: msg#00054

lang.haskell.glasgow.bugs

Subject: [GHC] #792: add viewMin/Max

#792: add viewMin/Max
-------------------------------+--------------------------------------------
Reporter: jpbernardy | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.5
Severity: normal | Keywords: collections
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
-------------------------------+--------------------------------------------
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

--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/792>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise