YonedaPartial
Partial application of the Yoneda type constructor, omitting the last parameter.
-
Declaration
Swift
public static func pure<A>(_ a: A) -> YonedaOf<F, A>
-
Declaration
Swift
public static func extract<A>( _ fa: YonedaOf<F, A> ) -> A
-
Declaration
Swift
public static func hash<A>(_ fa: YonedaOf<F, A>, into hasher: inout Hasher) where A : Hashable
-
Declaration
Swift
public static func foldLeft<A, B>( _ fa: YonedaOf<F, A>, _ b: B, _ f: @escaping (B, A) -> B ) -> B
-
Declaration
Swift
public static func traverse<G: Applicative, A, B>( _ fa: YonedaOf<F, A>, _ f: @escaping (A) -> Kind<G, B> ) -> Kind<G, YonedaOf<F, B>>