get

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.

Receiver

Optional with a focus in S

Return

Optional with a focus in A at given index I.

Parameters

i

index I to focus into S and find focus A


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.

Receiver

Traversal with a focus in S

Return

Traversal with a focus in A at given index I.

Parameters

i

index I to focus into S and find focus A