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: Function1Of<I, A>, _ f: @escaping (A) -> B) -> Function1Of<I, B>
-
Declaration
Swift
public static func pure<A>(_ a: A) -> Function1Of<I, A>
-
Declaration
Swift
public static func flatMap<A, B>( _ fa: Function1Of<I, A>, _ f: @escaping (A) -> Function1Of<I, B>) -> Function1Of<I, B>
-
Declaration
Swift
public static func tailRecM<A, B>( _ a: A, _ f: @escaping (A) -> Function1Of<I, Either<A, B>>) -> Function1Of<I, B>
-
Declaration
Swift
public typealias D = I
-
Declaration
Swift
public static func ask() -> Function1Of<I, I>
-
Declaration
Swift
public static func local<A>( _ fa: Function1Of<I, A>, _ f: @escaping (I) -> I) -> Function1Of<I, A>