ForObservableK

public final class ForObservableK

Undocumented

  • Declaration

    Swift

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

    Swift

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

    Swift

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

    Swift

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

    Swift

    public typealias E = Error
  • Declaration

    Swift

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

    Swift

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

    Swift

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

    Swift

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

    Declaration

    Swift

    public static func suspend<A>(_ fa: @escaping () -> Kind<ForObservableK, A>) -> Kind<ForObservableK, A>
  • Undocumented

    Declaration

    Swift

    public static func runAsync<A>(_ fa: @escaping ((Either<ForObservableK.E, A>) -> ()) throws -> ()) -> Kind<ForObservableK, A>
  • Undocumented

    Declaration

    Swift

    public static func runAsync<A>(_ fa: Kind<ForObservableK, A>, _ callback: @escaping (Either<Error, A>) -> Kind<ForObservableK, ()>) -> Kind<ForObservableK, ()>