arrow-optics / arrow.optics / arrow.core.ListK / toOptionNel
fun <A> ListK.Companion.~~toOptionNel~~(): Iso<List<A>, Option<NonEmptyList<A>>> Deprecated: ListK is being deprecated, use the function defined for List instead.
fun <A> ListK.Companion.~~toOptionNel~~():
Iso
<
List
<A>, Option<NonEmptyList<A>>>
Iso that defines equality between a List and Option
Do you like Arrow?