arrow-optics / arrow.optics / arrow.core.ListK / toOptionNel

toOptionNel

fun <A> ListK.Companion.~~toOptionNel~~(): Iso<List<A>, Option<NonEmptyList<A>>> Deprecated: ListK is being deprecated, use the function defined for List instead.

Iso that defines equality between a List and Option

Do you like Arrow?

Arrow Org
<