ValidatedPartial

public final class ValidatedPartial<I> : Kind<ForValidated, I>

Partial application of the Validated type constructor, ommitting the last parameter.

  • Declaration

    Swift

    public static func eq<A>(_ lhs: Kind<ValidatedPartial<I>, A>, _ rhs: Kind<ValidatedPartial<I>, A>) -> Bool where A : Equatable
  • Declaration

    Swift

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

    Swift

    public static func pure<A>(_ a: A) -> Kind<ValidatedPartial<I>, A>
  • Declaration

    Swift

    public static func ap<A, B>(_ ff: Kind<ValidatedPartial<I>, (A) -> B>, _ fa: Kind<ValidatedPartial<I>, A>) -> Kind<ValidatedPartial<I>, B>
  • Declaration

    Swift

    public static func select<A, B>(_ fab: Kind<ValidatedPartial<I>, Either<A, B>>, _ f: Kind<ValidatedPartial<I>, (A) -> B>) -> Kind<ValidatedPartial<I>, B>
  • Declaration

    Swift

    public typealias E = I
  • Declaration

    Swift

    public static func raiseError<A>(_ e: I) -> Kind<ValidatedPartial<I>, A>
  • Declaration

    Swift

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

    Swift

    public static func foldLeft<A, B>(_ fa: Kind<ValidatedPartial<I>, A>, _ b: B, _ f: @escaping (B, A) -> B) -> B
  • Declaration

    Swift

    public static func foldRight<A, B>(_ fa: Kind<ValidatedPartial<I>, A>, _ b: Eval<B>, _ f: @escaping (A, Eval<B>) -> Eval<B>) -> Eval<B>
  • Declaration

    Swift

    public static func combineK<A>(_ x: Kind<ValidatedPartial<I>, A>, _ y: Kind<ValidatedPartial<I>, A>) -> Kind<ValidatedPartial<I>, A>