Tuple4

public enum Tuple4<A, B, C, D>

Utility optics over tuples of arity 4.

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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