Coproduct

public class Coproduct<F, G, A> : CoproductOf<F, G, A>

Undocumented

  • Undocumented

    Declaration

    Swift

    public static func fix(_ fa: CoproductOf<F, G, A>) -> Coproduct<F, G, A>
  • Undocumented

    Declaration

    Swift

    public init(_ run: Either<Kind<F, A>, Kind<G, A>>)
  • Undocumented

    Declaration

    Swift

    public func fold<H, FuncKF, FuncKG>(_ f: FuncKF, _ g: FuncKG) -> Kind<H, A> where F == FuncKF.F, G == FuncKG.F, H == FuncKF.G, FuncKF : FunctionK, FuncKG : FunctionK, FuncKF.G == FuncKG.G