SumPartial

public final class SumPartial<F, G> : Kind2<ForSum, F, G>

Partial application of the Sum type constructor, omitting the last parameter.

  • Declaration

    Swift

    public static func map<A, B>(
        _ fa: SumOf<F, G, A>,
        _ f: @escaping (A) -> B) -> SumOf<F, G, B>