Sum

public final class Sum<F, G, V> : SumOf<F, G, V>

Undocumented

  • Undocumented

    Declaration

    Swift

    public let left: Kind<F, V>
  • Undocumented

    Declaration

    Swift

    public let right: Kind<G, V>
  • Undocumented

    Declaration

    Swift

    public let side: Side
  • Undocumented

    Declaration

    Swift

    public static func fix(_ value: SumOf<F, G, V>) -> Sum<F, G, V>
  • Undocumented

    Declaration

    Swift

    public static func left(_ left: Kind<F, V>, _ right: Kind<G, V>) -> Sum<F, G, V>
  • Undocumented

    Declaration

    Swift

    public static func right(_ left: Kind<F, V>, _ right: Kind<G, V>) -> Sum<F, G, V>
  • Undocumented

    Declaration

    Swift

    public init(left: Kind<F, V>, right: Kind<G, V>, side: Side = .left)
  • Undocumented

    Declaration

    Swift

    public func change(side: Side) -> Sum<F, G, V>