arrow-optics / arrow.optics / PLens / compose

compose

open infix fun <C, D> compose(l: PLens<A, B, C, D>): PLens<S, T, C, D>

Compose a PLens with another PLens

open infix fun <C, D> compose(other: POptional<A, B, C, D>): POptional<S, T, C, D>

Compose a PLens with a POptional

open infix fun <C, D> compose(other: PIso<A, B, C, D>): PLens<S, T, C, D>

Compose an PLens with a PIso

open infix fun <C> compose(other: Getter<A, C>): Getter<S, C>

Compose an PLens with a Getter

open infix fun <C, D> compose(other: PSetter<A, B, C, D>): PSetter<S, T, C, D>

Compose an PLens with a PSetter

open infix fun <C, D> compose(other: PPrism<A, B, C, D>): POptional<S, T, C, D>

Compose an PLens with a PPrism

open infix fun <C> compose(other: Fold<A, C>): Fold<S, C>

Compose an PLens with a Fold

open infix fun <C, D> compose(other: PTraversal<A, B, C, D>): PTraversal<S, T, C, D>

Compose an PLens with a PTraversal

Do you like Arrow?

Arrow Org
<