EitherTPartial
public final class EitherTPartial<F, L> : Kind2<ForEitherT, F, L>
Partial application of the EitherT type constructor, omitting the last parameter.
-
Declaration
Swift
public static func hash<A>(_ fa: EitherTOf<F, L, A>, into hasher: inout Hasher) where A : Hashable
-
Declaration
Swift
public static func pure<A>(_ a: A) -> EitherTOf<F, L, A>
-
Declaration
Swift
public typealias E = L
-
Declaration
Swift
public static func raiseError<A>(_ e: L) -> EitherTOf<F, L, A>
-
Declaration
Swift
public static func foldLeft<A, B>( _ fa: EitherTOf<F, L, A>, _ b: B, _ f: @escaping (B, A) -> B) -> B
-
Declaration
Swift
public static func traverse<G: Applicative, A, B>( _ fa: EitherTOf<F, L, A>, _ f: @escaping (A) -> Kind<G, B>) -> Kind<G, EitherTOf<F, L, B>>