sequenceOption

Deprecated

Prefer Kotlin nullable syntax inside either DSL, or replace with explicit fold

Replace with

import arrow.core.right
fold({ emptyList() }, { iterable -> iterable.map { it.right() } })

fun <A, B> Ior<A, Option<B>>.sequenceOption(): Option<Ior<A, B>>
fun <K, V> Map<K, Option<V>>.sequenceOption(): Option<Map<K, V>>

Deprecated

sequenceOption is being renamed to sequence to simplify the Arrow API

Replace with

import arrow.core.sequence
sequence()

Deprecated

sequenceOption is being renamed to sequence to simplify the Arrow API

Replace with

import arrow.core.sequence
sequence().map { it.asSequence() }