match<A, L, R> function

Stream<A> Function(StreamEither<L, R> either$) match<A, L, R>({
  1. required A left(
    1. L
    ),
  2. required A right(
    1. R
    ),
})

Implementation

Stream<A> Function(
  StreamEither<L, R> either$,
) match<A, L, R>({
  required A Function(L) left,
  required A Function(R) right,
}) =>
    (either$) => either$.map(
          E.match(
            left: left,
            right: right,
          ),
        );