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 hash<A>(_ fa: EitherKOf<F, G, A>, into hasher: inout Hasher) where A : Hashable
-
Declaration
Swift
public static func extract<A>(_ fa: EitherKOf<F, G, A>) -> A
-
Declaration
Swift
public static func foldLeft<A, B>( _ fa: EitherKOf<F, G, A>, _ b: B, _ f: @escaping (B, A) -> B) -> B
-
Declaration
Swift
public static func traverse<H: Applicative, A, B>( _ fa: EitherKOf<F, G, A>, _ f: @escaping (A) -> Kind<H, B>) -> Kind<H, EitherKOf<F, G, B>>