bimap<LL, RR> method
Implementation
Either<LL, RR> bimap<LL, RR>(LL ifLeft(L l), RR ifRight(R r)) =>
fold((l) => left(ifLeft(l)), (r) => right(ifRight(r)));
Either<LL, RR> bimap<LL, RR>(LL ifLeft(L l), RR ifRight(R r)) =>
fold((l) => left(ifLeft(l)), (r) => right(ifRight(r)));