Safe Haskell | Safe-Inferred |
---|
Documentation
module Data.Either
fromEither :: Either a a -> aSource
Pull the value out of an Either
where both alternatives
have the same type.
\x -> fromEither (Left x ) == x \x -> fromEither (Right x) == x
Safe Haskell | Safe-Inferred |
---|
module Data.Either
fromEither :: Either a a -> aSource
Pull the value out of an Either
where both alternatives
have the same type.
\x -> fromEither (Left x ) == x \x -> fromEither (Right x) == x