EitherKPartial
public final class EitherKPartial<F, G> : Kind2<ForEitherK, F, G>
Partial application of the EitherK type constructor, omitting the last parameter.
-
Declaration
Swift
public static func extract<A>(_ fa: Kind<EitherKPartial<F, G>, A>) -> A
-
Declaration
Swift
public static func foldLeft<A, B>(_ fa: Kind<EitherKPartial<F, G>, A>, _ b: B, _ f: @escaping (B, A) -> B) -> B
-
Declaration
Swift
public static func traverse<H: Applicative, A, B>(_ fa: Kind<EitherKPartial<F, G>, A>, _ f: @escaping (A) -> Kind<H, B>) -> Kind<H, Kind<EitherKPartial<F, G>, B>>