curry-frontend-0.4.2: Lexer, parser, type checker, etc. for the Curry language

Copyright(c) 2011 - 2015 Björn Peemöller
LicenseBSD-3-clause
Maintainerbjp@informatik.uni-kiel.de
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

CompilerEnv

Description

This module defines the compilation environment for a single module, containing the information needed throughout the compilation process.

Synopsis

Documentation

type CompEnv a = (CompilerEnv, a) Source #

data CompilerEnv Source #

A compiler environment contains information about the module currently compiled. The information is updated during the different stages of compilation.

Constructors

CompilerEnv 

Fields

ppMap :: (Show a, Show b) => Map a b -> Doc Source #

Pretty print a Map

ppAL :: (Show a, Show b) => [(a, b)] -> Doc Source #

Pretty print an association list