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

cons

@JvmName("cons") infix fun <A> A.~~cons~~(tail: ListK<A>): ListK<A> Deprecated: arrow.optics.extensions package is being deprecated, function is being moved to arrow.optics.cons

@JvmName("cons") fun <A> ~~cons~~(): PPrism<ListK<A>, ListK<A>, Tuple2<A, ListK<A>>, Tuple2<A, ListK<A>>> Deprecated: arrow.optics.extensions package is being deprecated. Use the exposed function in the instance for List from the companion object of the typeclass instead.

Do you like Arrow?

Arrow Org
<