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