| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Language.Drasil.Plain.Print
Description
Defines functions to print on plain files (for .txt, .log, etc.).
Synopsis
- data SingleLine
- showHasSymbImpl :: HasSymbol x => x -> String
- oneLineSentenceDoc :: PrintingInformation -> Sentence -> Doc
- oneLineExprDoc :: PrintingInformation -> Expr -> Doc
- oneLineCodeExprDoc :: PrintingInformation -> CodeExpr -> Doc
- oneLineUnitDoc :: USymb -> Doc
Types
Functions
showHasSymbImpl :: HasSymbol x => x -> String Source #
Helper for printing a HasSymbol in Implementation Stage
Renderers
oneLineSentenceDoc :: PrintingInformation -> Sentence -> Doc Source #
Creates a OneLine Implementation-stage sentenceDoc.
oneLineExprDoc :: PrintingInformation -> Expr -> Doc Source #
Creates a OneLine Implementation-stage exprDoc.
oneLineCodeExprDoc :: PrintingInformation -> CodeExpr -> Doc Source #