arrow-optics / arrow.optics.extensions / MapIndex

MapIndex

interface ~~MapIndex~~<K, V> : Index<Map<K, V>, K, V> Deprecated: Typeclass interface implementation will not be exposed directly anymore.

Index instance definition for Map.

Functions

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

Companion Object Functions

invoke Operator overload to instantiate typeclass instance.operator fun <K, V> invoke(): MapIndex<K, V>

Do you like Arrow?

Arrow Org
<