arrow-optics / arrow.optics.extensions / ListIndex

ListIndex

interface ~~ListIndex~~<A> : Index<List<A>, Int, A> Deprecated: Typeclass interface implementation will not be exposed directly anymore.

Index instance definition for List.

Functions

index Get Optional focus A for a structure S at index i.open fun index(i: Int): Optional<List<A>, A>

Companion Object Functions

invoke operator fun <A> invoke(): ListIndex<A>

Do you like Arrow?

Arrow Org
<