#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
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs