arrow-optics / arrow.optics.dsl / some

some

inline val <T, S> Lens<T, Option<S>>.some: Optional<T, S>

DSL to compose a Prism with focus arrow.core.Some with a Lens with a focus of Option<S>

Receiver Lens with a focus in Option<S>

Return Optional with a focus in S

inline val <T, S> Iso<T, Option<S>>.some: Prism<T, S>

DSL to compose a Prism with focus arrow.core.Some with a Iso with a focus of Option<S>

Receiver Iso with a focus in Option<S>

Return Prism with a focus in S

inline val <T, S> Prism<T, Option<S>>.some: Prism<T, S>

DSL to compose a Prism with focus arrow.core.Some with a Prism with a focus of Option<S>

Receiver Prism with a focus in Option<S>

Return Prism with a focus in S

inline val <T, S> Optional<T, Option<S>>.some: Optional<T, S>

DSL to compose a Prism with focus arrow.core.Some with a Optional with a focus of Option<S>

Receiver Optional with a focus in Option<S>

Return Optional with a focus in S

inline val <T, S> Setter<T, Option<S>>.some: Setter<T, S>

DSL to compose a Prism with focus arrow.core.Some with a Setter with a focus of Option<S>

Receiver Setter with a focus in Option<S>

Return Setter with a focus in S

inline val <T, S> Traversal<T, Option<S>>.some: Traversal<T, S>

DSL to compose a Prism with focus arrow.core.Some with a Traversal with a focus of Option<S>

Receiver Traversal with a focus in Option<S>

Return Traversal with a focus in S

inline val <T, S> Fold<T, Option<S>>.some: Fold<T, S>

DSL to compose a Prism with focus arrow.core.Some with a Fold with a focus of Option<S>

Receiver Fold with a focus in Option<S>

Return Fold with a focus in S

Do you like Arrow?

Arrow Org
<