-
Function to access values relative to a monoidal position, in the context of the base Comonad.
Declaration
Swift
public let value: Kind<W, (M) -> A> -
Safe downcast.
Declaration
Swift
public static func fix(_ fa: TracedTOf<M, W, A>) -> TracedT<M, W, A>Parameters
faValue in the higher-kind form.
Return Value
Value cast to TracedT.
-
Initializes a TracedT value.
Declaration
Swift
public init(_ value: Kind<W, (M) -> A>)Parameters
valueFunction in the context of the base Comonad.
-
Initializes a Traced value.
Declaration
Swift
public convenience init(_ f: @escaping (M) -> A)Parameters
fFunction to access values from a monoidal position.
-
Invokes this function.
Declaration
Swift
public func callAsFunction(_ input: M) -> AParameters
inputInput to the function.
Return Value
Output of the function.
Install in Dash
TracedT Class Reference