biMap<LL, RR> method
Come la map
, con la differenza che chiama la lf o rf in base al tipo contenuto.
Quindi non considera L come errore
Implementation
Either<LL, RR> biMap<LL, RR>(LL Function(L l) lf, RR Function(R r) rf) =>
fold((l) => Left(lf(l)), (right) => Right(rf(right)));