-
Safe downcast.
Declaration
Swift
public static func fix(_ fa: PairKOf<F, G, A>) -> PairK<F, G, A>
Parameters
fa
Value in the higher-kind form.
Return Value
Value cast to
PairK
.
-
Initialises a
PairK
from the provided values lifting them toF
andG
.Declaration
Swift
public convenience init(_ a1: A, _ a2: A)
Parameters
a1
Value of the first component of the pair.
a2
Value of the second component of the pair.