:: (x -> y) -> (p -> q) -> Either x p -> Either y q package:generic-functor

Generic implementation of bimap from Bifunctor. See also GenericBifunctor.