public final class EitherOptics extends Object
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Prism<Either<A,B>,A> |
left() |
static <A,B,C> PPrism<Either<A,B>,Either<C,B>,A,C> |
pLeft() |
static <A,B,C> PPrism<Either<A,B>,Either<A,C>,B,C> |
pRight() |
static <A,B> Prism<Either<A,B>,B> |
right() |
Copyright © 2018 Atlassian. All rights reserved.