arrow-optics / arrow.optics / PTraversal / nonEmptyList

nonEmptyList

@JvmStatic fun <A> nonEmptyList(): Traversal<NonEmptyList<A>, A>

Traversal for NonEmptyList that has focus in each A.

Receiver PTraversal.Companion to make it statically available.

Return Traversal with source NonEmptyList and focus every A of the source.

Do you like Arrow?

Arrow Org
<