arrow-optics / arrow.optics.extensions / SetKAt / at

at

open fun at(i: A): Lens<SetK<A>, Boolean>

Get a Lens for a structure S with focus in A at index i.

Parameters

i - index I to zoom into S and find focus A

Return Lens with a focus in A at given index I.

Do you like Arrow?

Arrow Org
<