-
Undocumented
Declaration
Swift
public let value: _Free<F, A> -
Creates a Free value.
Declaration
Swift
public static func free(_ fa: Kind<F, Free<F, A>>) -> Free<F, A>Parameters
faValue to be embedded in Free.
Return Value
A Free value.
-
Lifts a value in the context of the Functor into the Free context.
Declaration
Swift
public static func liftF(_ fa: Kind<F, A>) -> Free<F, A>Parameters
faA value in the context of the provided Functor.
Return Value
A Free value.
-
Safe downcast.
Declaration
Swift
public static func fix(_ fa: FreeOf<F, A>) -> Free<F, A>Parameters
faValue in the higher-kind form.
Return Value
Value cast to Free.
Install in Dash
Free Class Reference