EitherPartial
Partial application of the Either type constructor, omitting the last parameter.
-
Declaration
Swift
public static func hash<A>(_ fa: EitherOf<L, A>, into hasher: inout Hasher) where A : Hashable
-
Declaration
Swift
public static func pure<A>(_ a: A) -> EitherOf<L, A>
-
Declaration
Swift
public typealias E = L
-
Declaration
Swift
public static func raiseError<A>(_ e: L) -> EitherOf<L, A>
-
Declaration
Swift
public static func foldLeft<A, B>( _ fa: EitherOf<L, A>, _ c: B, _ f: @escaping (B, A) -> B) -> B
-
Declaration
Swift
public static func traverse<G: Applicative, A, B>( _ fa: EitherOf<L, A>, _ f: @escaping (A) -> Kind<G, B>) -> Kind<G, EitherOf<L, B>>