ConstPartial

public final class ConstPartial<A> : Kind<ForConst, A>

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

  • Declaration

    Swift

    public static func eq<T>(_ lhs: Kind<ConstPartial<A>, T>, _ rhs: Kind<ConstPartial<A>, T>) -> Bool where T : Equatable
  • Declaration

    Swift

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

    Swift

    public static func pure<C>(_ a: C) -> Kind<ConstPartial<A>, C>
  • Declaration

    Swift

    public static func ap<C, B>(_ ff: Kind<ConstPartial<A>, (C) -> B>, _ fa: Kind<ConstPartial<A>, C>) -> Kind<ConstPartial<A>, B>
  • Declaration

    Swift

    public static func foldLeft<C, B>(_ fa: Kind<ConstPartial<A>, C>, _ b: B, _ f: @escaping (B, C) -> B) -> B
  • Declaration

    Swift

    public static func foldRight<C, B>(_ fa: Kind<ConstPartial<A>, C>, _ b: Eval<B>, _ f: @escaping (C, Eval<B>) -> Eval<B>) -> Eval<B>