leftMap<L2> method

Either<L2, R> leftMap<L2>(
  1. L2 f(
    1. L l
    )
)

Implementation

Either<L2, R> leftMap<L2>(L2 f(L l)) => fold((L l) => left(f(l)), right);