traverseOption

inline fun <A, B> Iterable<A>.traverseOption(f: (A) -> Option<B>): Option<List<B>>
inline fun <A, B> NonEmptyList<A>.traverseOption(f: (A) -> Option<B>): Option<NonEmptyList<B>>
inline fun <K, A, B> Map<K, A>.traverseOption(f: (A) -> Option<B>): Option<Map<K, B>>

Deprecated

traverseOption is being renamed to traverse to simplify the Arrow API

Replace with

import arrow.core.traverse
traverse(f)

Deprecated

traverseOption is being renamed to traverse to simplify the Arrow API

Replace with

import arrow.core.traverse
traverse(f).map { it.asSequence() }