Drasil.GOOL.Classes
class Pair p where Source #
Methods
pfst :: p x y a -> x a Source #
psnd :: p x y b -> y b Source #
pair :: x a -> y a -> p x y a Source #
Defined in Drasil.GOOL.LanguageRenderer.CppRenderer
pfst :: forall x (y :: Type -> Type) a. CppCode x y a -> x a Source #
psnd :: forall (x :: Type -> Type) y b. CppCode x y b -> y b Source #
pair :: x a -> y a -> CppCode x y a Source #