TrampolinePartial
public typealias TrampolinePartial = ForTrampoline
-
Declaration
Swift
public static func map<A, B>(_ fa: TrampolineOf<A>, _ f: @escaping (A) -> B) -> TrampolineOf<B>
-
Declaration
Swift
public static func pure<A>(_ a: A) -> TrampolineOf<A>
-
Declaration
Swift
public static func flatMap<A, B>(_ fa: TrampolineOf<A>, _ f: @escaping (A) -> TrampolineOf<B>) -> TrampolineOf<B>
-
Declaration
Swift
public static func tailRecM<A, B>(_ a: A, _ f: @escaping (A) -> TrampolineOf<Either<A, B>>) -> TrampolineOf<B>