Class EitherOptics


  • public final class EitherOptics
    extends java.lang.Object
    • Constructor Detail

      • EitherOptics

        private EitherOptics()
    • Method Detail

      • pLeft

        public static <A,​B,​C> PPrism<Either<A,​B>,​Either<C,​B>,​A,​C> pLeft()
      • left

        public static <A,​B> Prism<Either<A,​B>,​A> left()
      • pRight

        public static <A,​B,​C> PPrism<Either<A,​B>,​Either<A,​C>,​B,​C> pRight()
      • right

        public static <A,​B> Prism<Either<A,​B>,​B> right()