| Safe Haskell | Safe-Inferred |
|---|
Data.Either.Extra
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