Skip to content

Add partitionEithers, lefts, rights to Data.Either

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.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
Edited by r6
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information