sequenceList<E, A> static method
Convert a List<Either<E, A>> to a single Either<E, List<A>>.
If any of the Either in the List is Left, then the result is Left.
Implementation
static Either<E, List<A>> sequenceList<E, A>(
List<Either<E, A>> list,
) =>
traverseList(list, identity);