Function0Partial
public typealias Function0Partial = ForFunction0
-
Declaration
Swift
public static func eq<A: Equatable>( _ lhs: Function0Of<A>, _ rhs: Function0Of<A>) -> Bool
-
Declaration
Swift
public static func hash<A>(_ fa: Function0Of<A>, into hasher: inout Hasher) where A : Hashable
-
Declaration
Swift
public static func map<A, B>( _ fa: Function0Of<A>, _ f: @escaping (A) -> B) -> Function0Of<B>
-
Declaration
Swift
public static func pure<A>(_ a: A) -> Function0Of<A>
-
Declaration
Swift
public static func flatMap<A, B>(_ fa: Function0Of<A>, _ f: @escaping (A) -> Function0Of<B>) -> Function0Of<B>
-
Declaration
Swift
public static func tailRecM<A, B>(_ a: A, _ f: @escaping (A) -> Function0Of<Either<A, B>>) -> Function0Of<B>
-
Declaration
Swift
public static func coflatMap<A, B>(_ fa: Function0Of<A>, _ f: @escaping (Function0Of<A>) -> B) -> Function0Of<B>
-
Declaration
Swift
public static func extract<A>(_ fa: Function0Of<A>) -> A