Function1Partial

public final class Function1Partial<I> : Kind<ForFunction1, I>

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

  • Declaration

    Swift

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

    Swift

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

    Swift

    public static func flatMap<A, B>(_ fa: Kind<Function1Partial<I>, A>, _ f: @escaping (A) -> Kind<Function1Partial<I>, B>) -> Kind<Function1Partial<I>, B>
  • Declaration

    Swift

    public static func tailRecM<A, B>(_ a: A, _ f: @escaping (A) -> Kind<Function1Partial<I>, Either<A, B>>) -> Kind<Function1Partial<I>, B>
  • Declaration

    Swift

    public typealias D = I
  • Declaration

    Swift

    public static func ask() -> Kind<Function1Partial<I>, I>
  • Declaration

    Swift

    public static func local<A>(_ fa: Kind<Function1Partial<I>, A>, _ f: @escaping (I) -> I) -> Kind<Function1Partial<I>, A>