ermine-0.6: Ermine

Copyright(c) Dan Doel 2013
LicenseBSD3
MaintainerDan Doel <dan.doel@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Ermine.Pretty.Core

Description

Tools for pretty-printing Core expressions.

Synopsis

Documentation

prettyCore :: Applicative f => [String] -> Int -> (a -> Int -> f Doc) -> Core Convention a -> f Doc Source

Pretty print a HardCore expression.

prettyHardCore :: Int -> HardCore -> Doc Source

Pretty print a HardCore expression.

prettyId :: Id -> Doc Source