arrow-optics / arrow.optics.extensions / ListKSnoc / snoc

snoc

open fun snoc(): Prism<ListK<A>, Tuple2<ListK<A>, A>>

Provides a Prism between a S and its init and last element A.

Do you like Arrow?

Arrow Org
<