right

val <A, L, R> Prism<A, Either<L, R>>.right: Prism<A, R>(source)

DSL to compose a Prism with focus Either with a Prism with a focus of Either.Right<R>

Receiver

Prism with a focus in Either

Return

Prism with a focus in R


val <A, L, R> Optional<A, Either<L, R>>.right: Optional<A, R>(source)

DSL to compose a Optional with focus Either with a Prism with a focus of Either.Right<R>

Receiver

Lens or Optional with a focus in Either

Return

Optional with a focus in R


DSL to compose a Traversal with focus Either with a Prism with a focus of Either.Right<R>

Receiver

Traversal with a focus in Either

Return

Traversal with a focus in R