arrow-optics / arrow.optics.extensions.list.cons

Package arrow.optics.extensions.list.cons

Types

List object List

Extensions for External Classes

kotlin.collections.List  

Functions

cons infix fun <A> A.cons(tail: List<A>): List<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>>