language-qux-0.1.1.3: Utilities for working with the Qux language

Copyright(c) Henry J. Wylde, 2015
LicenseBSD3
Maintainerpublic@hjwylde.com
Safe HaskellSafe
LanguageHaskell2010

Language.Qux.Annotated.Simplify

Contents

Description

Simplify functions that return abstract syntax tree nodes without annotations.

Synopsis

Functions

sId :: Id a -> String Source

Simplifies an identifier.

sProgram :: Program a -> Program Source

Simplifies a program.

sDecl :: Decl a -> Decl Source

Simplifies a declaration.

sStmt :: Stmt a -> Stmt Source

Simplifies a statement.

sExpr :: Expr a -> Expr Source

Simplifies an expression.

sType :: Type a -> Type Source

Simplifies a type.