traverseIOEither<E, B> method

IOEither<E, List<B>> traverseIOEither<E, B>(
  1. IOEither<E, B> f(
    1. T a
    )
)

Map each element in the list to a IOEither using the function f, and collect the result in an IOEither<E, List<B>>.

Implementation

IOEither<E, List<B>> traverseIOEither<E, B>(
  IOEither<E, B> Function(T a) f,
) =>
    IOEither.traverseList(toList(), f);