ddc-core-0.4.2.1: Disciplined Disciple Compiler core language and type checker.

Safe HaskellNone
LanguageHaskell98

DDC.Core.Pretty

Description

Pretty printing for core modules and expressions.

Synopsis

Documentation

pprExportType :: (Pretty n, Eq n) => (n, ExportSource n) -> Doc Source

Pretty print an exported type definition.

pprExportValue :: (Pretty n, Eq n) => (n, ExportSource n) -> Doc Source

Pretty print an exported value definition.

pprImportType :: (Pretty n, Eq n) => (n, ImportType n) -> Doc Source

Pretty print a type import.

pprImportValue :: (Pretty n, Eq n) => (n, ImportValue n) -> Doc Source

Pretty print a value import.