drasil-utils-0.1.1.0: A framework for code and document generation for scientific software - Utils SubPackage
Safe HaskellSafe
LanguageHaskell2010

Utils.Drasil.Document

Description

Common Doc-related functions for writting printers with a little more clarity.

Synopsis

Documentation

blank :: Doc Source #

Creates a blank document with no text.

indent :: Doc -> Doc Source #

Indents a document (by 4 spaces).

(+:+.) :: Doc -> Doc -> Doc Source #

Helper which concatenates two Docs and appends a period.

indentList :: [Doc] -> Doc Source #

Indents a list of Docs and combines into one Doc.