mapLeft<L1, L2> function
Implementation
Either<L2, R> Function<R>(
Either<L1, R> either,
) mapLeft<L1, L2>(
L2 Function(L1) left,
) =>
<R>(either) => bimap(
right: identity<R>,
left: left,
)(either);