traverseIOEitherWithIndex<E, B> method
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>> traverseIOEitherWithIndex<E, B>(
IOEither<E, B> Function(T a, int i) f,
) =>
IOEither.traverseListWithIndex(toList(), f);