| Copyright | (c) Dan Doel 2013 |
|---|---|
| License | BSD3 |
| Maintainer | Dan Doel <dan.doel@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Ermine.Pretty.Core
Description
Tools for pretty-printing Core expressions.
- prettyCore :: Applicative f => [String] -> Int -> (a -> Int -> f Doc) -> Core Convention a -> f Doc
- prettyHardCore :: Int -> HardCore -> Doc
- prettyId :: Id -> Doc
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.