listToOptionNel

fun <A> listToOptionNel(): Iso<List<A>, Option<NonEmptyList<A>>>

Iso that defines equality between a List and Option