sequence Validated
fun <E, A> NonEmptyList<Validated<E, A>>.sequenceValidated(semigroup: Semigroup<E>): Validated<E, NonEmptyList<A>>
Deprecated
sequenceValidated is being renamed to sequence to simplify the Arrow API
Replace with
import arrow.core.sequence
Content copied to clipboard
sequence()
Content copied to clipboard
fun <E, A> Iterable<Validated<E, A>>.sequenceValidated(semigroup: Semigroup<E>): Validated<E, List<A>>
fun <K, E, A> Map<K, Validated<E, A>>.sequenceValidated(semigroup: Semigroup<E>): Validated<E, Map<K, A>>
Deprecated
sequenceValidated is being renamed to sequence to simplify the Arrow API
Replace with
import arrow.core.sequence
Content copied to clipboard
sequence(semigroup)
Content copied to clipboard
fun <E, A> Sequence<Validated<E, A>>.sequenceValidated(semigroup: Semigroup<E>): Validated<E, Sequence<A>>
Deprecated
sequenceValidated is being renamed to sequence to simplify the Arrow API
Replace with
import arrow.core.sequence
Content copied to clipboard
sequence(semigroup).map { it.asSequence() }
Content copied to clipboard