arrow-optics / arrow.optics.extensions / ListIndex
interface ~~ListIndex~~<A> : Index<List<A>, Int, A>
Deprecated: Typeclass interface implementation will not be exposed directly anymore.
Index instance definition for List.
| index | Get Optional focus A for a structure S at index i.open fun index(i: Int): Optional<List<A>, A> |
| invoke | operator fun <A> invoke(): ListIndex<A> |
Do you like Arrow?
✖