Tuple5

public enum Tuple5<A, B, C, D, E>

Utility optics over tuples of arity 5.

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

    Declaration

    Swift

    public static var _0: Lens<(A, B, C, D, E), 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, E), 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, E), 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, E), D> { get }
  • Obtains a Lens that focuses on the fifth component of a tuple

    Declaration

    Swift

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