Class PairOptics

java.lang.Object
io.atlassian.fugue.optic.std.PairOptics

public final class PairOptics extends Object
  • Constructor Details

    • PairOptics

      private PairOptics()
  • Method Details

    • pLeft

      public static <A,B,C> PLens<Pair<A,B>, Pair<C,B>, A, C> pLeft()
    • left

      public static <A,B> Lens<Pair<A,B>, A> left()
    • pRight

      public static <A,B,C> PLens<Pair<A,B>, Pair<A,C>, B, C> pRight()
    • _right

      public static <A,B> Lens<Pair<A,B>, B> _right()
    • pairToEntry

      public static <A,B> Iso<Pair<A,B>, Map.Entry<A,B>> pairToEntry()