[GHC] #1134: swap minView/maxView return value
GHC
trac at galois.com
Tue Feb 6 04:52:01 EST 2007
#1134: swap minView/maxView return value
--------------------------------+-------------------------------------------
Reporter: jpbernardy | Owner: jpbernardy
Type: feature request | Status: new
Priority: normal | Milestone: 6.8
Component: libraries/base | Version: 6.6
Severity: normal | Keywords: collections
Difficulty: Easy (1 hr) | Testcase:
Architecture: Unknown | Os: Unknown
--------------------------------+-------------------------------------------
New proposed types:
Data.Set:
minView,maxView:: Monad m => Set a -> m (a, Set a)
Data.Map:
minViewWithKey,maxViewWithKey :: Monad m => Map k a -> m ((k,a), Map k a)
minView,maxView :: Monad m => Map k a -> m (a, Map k a)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1134>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list