[GHC] #792: add viewMin/Max

GHC trac at galois.com
Wed Jun 7 16:42:20 EDT 2006


#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


More information about the Glasgow-haskell-bugs mailing list