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 eq<A>(_ lhs: Kind<EitherTPartial<F, L>, A>, _ rhs: Kind<EitherTPartial<F, L>, A>) -> Bool where A : Equatable
  • Declaration

    Swift

    public static func map<A, B>(_ fa: Kind<EitherTPartial<F, L>, A>, _ f: @escaping (A) -> B) -> Kind<EitherTPartial<F, L>, B>
  • Declaration

    Swift

    public static func pure<A>(_ a: A) -> Kind<EitherTPartial<F, L>, A>
  • Declaration

    Swift

    public static func ap<A, B>(_ ff: Kind<EitherTPartial<F, L>, (A) -> B>, _ fa: Kind<EitherTPartial<F, L>, A>) -> Kind<EitherTPartial<F, L>, B>
  • Declaration

    Swift

    public static func flatMap<A, B>(_ fa: Kind<EitherTPartial<F, L>, A>, _ f: @escaping (A) -> Kind<EitherTPartial<F, L>, B>) -> Kind<EitherTPartial<F, L>, B>
  • Declaration

    Swift

    public static func tailRecM<A, B>(_ a: A, _ f: @escaping (A) -> Kind<EitherTPartial<F, L>, Either<A, B>>) -> Kind<EitherTPartial<F, L>, B>
  • Declaration

    Swift

    public typealias E = L
  • Declaration

    Swift

    public static func raiseError<A>(_ e: L) -> Kind<EitherTPartial<F, L>, A>
  • Declaration

    Swift

    public static func handleErrorWith<A>(_ fa: Kind<EitherTPartial<F, L>, A>, _ f: @escaping (L) -> Kind<EitherTPartial<F, L>, A>) -> Kind<EitherTPartial<F, L>, A>
  • Declaration

    Swift

    public static func combineK<A>(_ x: Kind<EitherTPartial<F, L>, A>, _ y: Kind<EitherTPartial<F, L>, A>) -> Kind<EitherTPartial<F, L>, A>