arrow-optics / arrow.optics.extensions / ListKCons

ListKCons

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

Cons instance definition for ListK.

Functions

cons Provides a Prism between S and its first element A and tail S.open fun cons(): Prism<ListK<A>, Tuple2<A, ListK<A>>>

Do you like Arrow?

Arrow Org
<