drasil-printers-0.1.10.0: A framework for code and document generation for scientific software - Printers SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Drasil.Plain.Print

Description

Defines functions to print on plain files (for .txt, .log, etc.).

Synopsis

Types

data SingleLine Source #

Data is either linear or not.

Constructors

OneLine 
MultiLine 

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.

oneLineUnitDoc :: USymb -> Doc Source #

Creates a OneLine unitDoc.