arrow-optics / arrow.optics.extensions / ListKSnoc

ListKSnoc

interface ~~ListKSnoc~~<A> : Snoc<ListK<A>, A> Deprecated: Typeclass interface implementation will not be exposed directly anymore

Snoc instance definition for ListK.

Functions

snoc Provides a Prism between a S and its init and last element A.open fun snoc(): Prism<ListK<A>, Tuple2<ListK<A>, A>>

Do you like Arrow?

Arrow Org
<