DayPartial

public final class DayPartial<F, G> : Kind2<ForDay, F, G> where F : Comonad, G : Comonad

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

  • Declaration

    Swift

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

    Swift

    public static func pure<A>(_ a: A) -> DayOf<F, G, A>
  • Declaration

    Swift

    public static func ap<A, B>(
        _ ff: DayOf<F, G, (A) -> B>,
        _ fa: DayOf<F, G, A>) -> DayOf<F, G, B>