arrow-optics / arrow.optics / Fold / compose

compose

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

Compose a Fold with a Fold

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

Compose a Fold with a Getter

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

Compose a Fold with a Optional

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

Compose a Fold with a Prism

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

Compose a Fold with a Lens

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

Compose a Fold with a Iso

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

Compose a Fold with a Traversal

Do you like Arrow?

Arrow Org
<