In clients of the library it has been useful to create an EitherToEither visitor for the purpose of converting the value held by Left. This has been done to change the error message string. Bifunctors give this ability in a more Haskell-like way and is preferred. An EitherToEither visitor could still be included in the library as an alternative method.
In clients of the library it has been useful to create an
EitherToEithervisitor for the purpose of converting the value held byLeft. This has been done to change the error message string.Bifunctors give this ability in a more Haskell-like way and is preferred. AnEitherToEithervisitor could still be included in the library as an alternative method.