Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Either
Synopsis
- from_left :: Either a b -> Maybe a
- from_left_err :: Either t e -> t
- from_right :: Either x t -> Maybe t
- from_right_err :: Either e t -> t
- either_swap :: Either a b -> Either b a
- all_right :: [Either a b] -> Either a [b]
- either_to_maybe :: Either a b -> Maybe b
- is_left :: Either a b -> Bool
- is_right :: Either a b -> Bool
- partition_eithers :: [Either a b] -> ([a], [b])
Documentation
from_right_err :: Either e t -> t Source #
partition_eithers :: [Either a b] -> ([a], [b]) Source #
Data.Either.partitionEithers, which however hugs doesn't know of.