//arrow-core/arrow.core/sequence
common fun <A, B> Either<A, Iterable<B».sequence(): List<Either<A, B»
fun <A, B> Ior<A, Iterable<B».sequence(): List<Ior<A, B»
fun <E, A> Iterable<Either<E, A».sequence(): Either<E, List<A»
fun <A> Iterable<Result<A».sequence(): Result<List<A»
fun <E, A> Iterable<Validated<E, A».sequence(semigroup: Semigroup<E>): Validated<E, List<A»
fun <E, A> Iterable<ValidatedNel<E, A».sequence(): ValidatedNel<E, List<A»
fun <A> Iterable<Option<A».sequence(): Option<List<A»
fun <A> Iterable<A?>.sequence(): List<A>?
fun <A> Option<Iterable<A».sequence(): List<Option<A»
fun <E, A> Sequence<Either<E, A».sequence(): Either<E, List<A»
fun <A> Sequence<Option<A».sequence(): Option<List<A»
fun <E, A> Sequence<Validated<E, A».sequence(semigroup: Semigroup<E>): Validated<E, List<A»
fun <E, A> Validated<E, Iterable<A».sequence(): List<Validated<E, A»
Do you like Arrow?
✖