SumPartial

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

Undocumented

  • Declaration

    Swift

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

    Swift

    public static func coflatMap<A, B>(_ fa: Kind<SumPartial<F, G>, A>, _ f: @escaping (Kind<SumPartial<F, G>, A>) -> B) -> Kind<SumPartial<F, G>, B>
  • Declaration

    Swift

    public static func extract<A>(_ fa: Kind<SumPartial<F, G>, A>) -> A