EnvTPartial
Partial application of the EnvT
type constructor, omitting the last parameter.
-
Declaration
Swift
public static func pure<A>(_ a: A) -> EnvTOf<E, W, A>
-
Declaration
Swift
public static func extract<A>(_ fa: EnvTOf<E, W, A>) -> A
-
Declaration
Swift
public static func ask<A>(_ wa: EnvTOf<E, W, A>) -> E
-
Declaration
Swift
public static func foldLeft<A, B>( _ fa: EnvTOf<E, W, A>, _ b: B, _ f: @escaping (B, A) -> B) -> B
-
Declaration
Swift
public static func traverse<G: Applicative, A, B>( _ fa: EnvTOf<E, W, A>, _ f: @escaping (A) -> Kind<G, B>) -> Kind<G, EnvTOf<E, W, B>>
-
Declaration
Swift
public typealias S = W.S
-
Declaration
Swift
public typealias M = W.M