arrow-optics / arrow.optics.extensions.listk.cons

Package arrow.optics.extensions.listk.cons

Extensions for External Classes

arrow.data.ListK  

Functions

cons infix fun <A> A.cons(tail: ListK<A>): ListK<A>
fun <A> cons(): PPrism<ListK<A>, ListK<A>, Tuple2<A, ListK<A>>, Tuple2<A, ListK<A>>>
firstOption fun <A> firstOption(): POptional<ListK<A>, ListK<A>, A, A>
tailOption fun <A> tailOption(): POptional<ListK<A>, ListK<A>, ListK<A>, ListK<A>>