map<R2> abstract method
Transforms the value contained in Right using the given function f,
returning a new Either with the transformed value.
If this is a Left, the same instance is returned unchanged.
Implementation
Either<L, R2> map<R2>(R2 Function(R right) f);