utility-ht-0.0.14: Various small helper functions for Lists, Maybes, Tuples, Functions
Data.Either.HT
mapLeft :: (a -> b) -> Either a c -> Either b c Source #
mapRight :: (b -> c) -> Either a b -> Either a c Source #
mapBoth :: (a -> c) -> (b -> d) -> Either a b -> Either c d Source #