drasil-gool-0.1.1.0: A framework for code and document generation for scientific software - GOOL SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

GOOL.Drasil.Classes

Documentation

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 #

Instances

Instances details
Pair CppCode Source # 
Instance details

Defined in GOOL.Drasil.LanguageRenderer.CppRenderer

Methods

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 #