Copyright | (c) 2017 Daniel Mendler 2006-2007 Roman Leshchinskiy |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Daniel Mendler <mail@daniel-mendler.de> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Strict Either
.
Same as the standard Haskell Either
, but Left _|_ = Right _|_ = _|_
Documentation
The strict choice type.
Bifunctor Either Source # | |
Functor (Either a) Source # | |
Foldable (Either a) Source # | |
Traversable (Either a) Source # | |
Generic1 (Either a) Source # | |
(Eq b, Eq a) => Eq (Either a b) Source # | |
(Data b, Data a) => Data (Either a b) Source # | |
(Ord b, Ord a) => Ord (Either a b) Source # | |
(Read b, Read a) => Read (Either a b) Source # | |
(Show b, Show a) => Show (Either a b) Source # | |
Generic (Either a b) Source # | |
type Rep1 (Either a) Source # | |
type Rep (Either a b) Source # | |
partitionEithers :: [Either a b] -> ([a], [b]) Source #
Analogous to partitionEithers
in Data.Either.