drasil-lang-0.1.60.0: A framework for code and document generation for scientific software - Language SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Drasil.CodeExpr.Convert

Synopsis

Documentation

expr :: Expr -> CodeExpr Source #

Render an algebraic expression into our code expression language.

constraint :: ConstraintE -> Constraint CodeExpr Source #

Convert constrained expressions (ConstraintE) into Constraint''CodeExprs.

class CanGenCode e where Source #

Methods

toCodeExpr :: e -> CodeExpr Source #

Instances

Instances details
CanGenCode Expr Source # 
Instance details

Defined in Language.Drasil.CodeExpr.Convert

CanGenCode Literal Source # 
Instance details

Defined in Language.Drasil.CodeExpr.Convert