arrow-optics / arrow.optics.extensions.list.filterIndex / filter

filter

@JvmName("filter") fun <A> ~~filter~~(p: (Int) -> Boolean): PTraversal<ListK<A>, ListK<A>, A, 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
<