[GHC] #974: Add isLeft, isRight, fromLeft, fromRight,
and splitEithers to Data.Either
GHC
trac at galois.com
Mon Oct 30 08:34:41 EST 2006
#974: Add isLeft, isRight, fromLeft, fromRight, and splitEithers to Data.Either
-------------------------------+--------------------------------------------
Reporter: guest | Owner:
Type: proposal | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------------+--------------------------------------------
This proposal would add basic functionality to `Either` similar to that
for `Maybe`. The `splitEithers` function of type `[Either a b] ->
([a],[b])` is unique; however, it seems to be a widely useful function.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/974>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list