Tuple3

public enum Tuple3<A, B, C>

Utility optics over tuples of arity 3.

  • Obtains a Lens that focuses on the first component of a tuple

    Declaration

    Swift

    public static var _0: Lens<(A, B, C), A> { get }
  • Obtains a Lens that focuses on the second component of a tuple

    Declaration

    Swift

    public static var _1: Lens<(A, B, C), B> { get }
  • Obtains a Lens that focuses on the third component of a tuple

    Declaration

    Swift

    public static var _2: Lens<(A, B, C), C> { get }