arrow-optics / arrow.optics.typeclasses / Index / get
open operator fun <T> Lens<T, S>.get(i: I): Optional<T, A>
DSL to compose Index with a Lens for a structure S to focus in on A at given index I.
i - index I to focus into S and find focus A
Receiver Lens with a focus in S
Return Optional with a focus in A at given index I.
open operator fun <T> Iso<T, S>.get(i: I): Optional<T, A>
DSL to compose Index with an Iso for a structure S to focus in on A at given index I.
i - index I to focus into S and find focus A
Receiver Iso with a focus in S
Return Optional with a focus in A at given index I.
open operator fun <T> Prism<T, S>.get(i: I): Optional<T, A>
DSL to compose Index with a Prism for a structure S to focus in on A at given index I.
i - index I to focus into S and find focus A
Receiver Prism with a focus in S
Return Optional with a focus in A at given index I.
open operator fun <T> Optional<T, S>.get(i: I): Optional<T, A>
DSL to compose Index with an Optional for a structure S to focus in on A at given index I.
i - index I to focus into S and find focus A
Receiver Optional with a focus in S
Return Optional with a focus in A at given index I.
open operator fun <T> Setter<T, S>.get(i: I): Setter<T, A>
DSL to compose Index with a Setter for a structure S to focus in on A at given index I.
i - index I to focus into S and find focus A
Receiver Setter with a focus in S
Return Setter with a focus in A at given index I.
open operator fun <T> Traversal<T, S>.get(i: I): Traversal<T, A>
DSL to compose Index with a Traversal for a structure S to focus in on A at given index I.
i - index I to focus into S and find focus A
Receiver Traversal with a focus in S
Return Traversal with a focus in A at given index I.
open operator fun <T> Fold<T, S>.get(i: I): Fold<T, A>
DSL to compose Index with a Fold for a structure S to focus in on A at given index I.
i - index I to focus into S and find focus A
Do you like Arrow?
✖