option

object option

Deprecated

The option DSL has been moved to arrow.core.raise.option. Replace import arrow.core.computations.option with arrow.core.raise.option

Replace with

import arrow.core.raise.option
option

Functions

Link copied to clipboard
inline fun <A> eager(crossinline f: suspend OptionEagerEffectScope.() -> A): Option<A>
Link copied to clipboard
inline suspend operator fun <A> invoke(crossinline f: suspend OptionEffectScope.() -> A): Option<A>