arrow-mtl / arrow.mtl.extensions / OptionTAlternative / lazyOrElse

lazyOrElse

open fun <A> Kind<OptionTPartialOf<F>, A>.lazyOrElse(b: () -> Kind<OptionTPartialOf<F>, A>): Kind<OptionTPartialOf<F>, A>

Do you like Arrow?

Arrow Org
<