Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Defines functions to print on plain files (for .txt, .log, etc.).
Synopsis
- data SingleLine
- exprDoc :: ChunkDB -> Stage -> SingleLine -> Expr -> Doc
- codeExprDoc :: ChunkDB -> Stage -> SingleLine -> CodeExpr -> Doc
- sentenceDoc :: ChunkDB -> Stage -> SingleLine -> Sentence -> Doc
- symbolDoc :: Symbol -> Doc
- unitDoc :: SingleLine -> USymb -> Doc
- showSymb :: Symbol -> String
- showHasSymbImpl :: HasSymbol x => x -> String
Types
Functions
exprDoc :: ChunkDB -> Stage -> SingleLine -> Expr -> Doc Source #
Create expressions for a document in Doc
format.
codeExprDoc :: ChunkDB -> Stage -> SingleLine -> CodeExpr -> Doc Source #
Create code expressions for a document in Doc
format.
sentenceDoc :: ChunkDB -> Stage -> SingleLine -> Sentence -> Doc Source #
Create sentences for a document in Doc
format.
showHasSymbImpl :: HasSymbol x => x -> String Source #
Helper for printing a HasSymbol in Implementation Stage