isLeft :: (Either a b) -> Bool { } #
isRight :: (Either a b) -> Bool { } #
O(n). Extract all Left values from a list.
rights :: [Either a b] -> [b] { } #
O(n). Extract all Right values from a list.
partitionEithers :: [Either a b] -> ([a], [b]) { } #
O(n). Partition a list of Either<a> into Left<a> and Right values.