sequence Option
Deprecated
Prefer Kotlin nullable syntax inside either DSL, or replace with explicit fold
Replace with
import arrow.core.right
Content copied to clipboard
fold({ emptyList() }, { iterable -> iterable.map { it.right() } })
Content copied to clipboard
Deprecated
sequenceOption 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
Deprecated
sequenceOption is being renamed to sequence to simplify the Arrow API
Replace with
import arrow.core.sequence
Content copied to clipboard
sequence().map { it.asSequence() }
Content copied to clipboard