mapLeft<L1, L2> function

StreamEither<L2, R> Function<R>(StreamEither<L1, R> either$) mapLeft<L1, L2>(
  1. L2 left(
    1. L1
    )
)

Implementation

StreamEither<L2, R> Function<R>(
  StreamEither<L1, R> either$,
) mapLeft<L1, L2>(
  L2 Function(L1) left,
) =>
    <R>(either$) => bimap(
          left: left,
          right: identity<R>,
        )(either$);