arrow-optics / arrow.optics.extensions / MapAt

MapAt

interface ~~MapAt~~<K, V> : At<Map<K, V>, K, Option<V>> Deprecated: Typeclass interface implementation will not be exposed directly anymore.

At instance definition for Map.

Functions

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

Companion Object Functions

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

Extension Functions

remove Delete a value associated with a key in a Map-like containerfun <S, I, A> At<S, I, Option<A>>.remove(s: S, i: I): S
Lift deletion of a value associated with a key in a Map-like containerfun <S, I, A> At<S, I, Option<A>>.remove(i: I): (S) -> S

Do you like Arrow?

Arrow Org
<