Coproduct4

public final class Coproduct4<A, B, C, D> : Coproduct4Of<A, B, C, D>

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func first(_ a: A) -> Coproduct4<A, B, C, D>
  • Undocumented

    Declaration

    Swift

    public static func second(_ b: B) -> Coproduct4<A, B, C, D>
  • Undocumented

    Declaration

    Swift

    public static func third(_ c: C) -> Coproduct4<A, B, C, D>
  • Undocumented

    Declaration

    Swift

    public static func fourth(_ d: D) -> Coproduct4<A, B, C, D>
  • Undocumented

    Declaration

    Swift

    public func fold<Z>(_ fa: (A) -> Z,
                        _ fb: (B) -> Z,
                        _ fc: (C) -> Z,
                        _ fd: (D) -> Z) -> Z
  • Undocumented

    Declaration

    Swift

    public var first: Option<A> { get }
  • Undocumented

    Declaration

    Swift

    public var second: Option<B> { get }
  • Undocumented

    Declaration

    Swift

    public var third: Option<C> { get }
  • Undocumented

    Declaration

    Swift

    public var fourth: Option<D> { get }