crosswalk

inline fun <B> crosswalk(f: (A) -> Option<B>): Option<Option<B>>

Deprecated

This API is niche and will be removed in the future. If this method is crucial for you, please let us know on the Arrow Github. Thanks! https://github.com/arrow-kt/arrow/issues Prefer using the Option DSL or fold

Replace with

import arrow.core.None
import arrow.core.Option
import arrow.core.Some
fold<Option<Option<B>>>({ None }) { value -> f(value).map(::Some) }