Portability | portable |
---|---|
Maintainer | Simon Meier <iridcode@gmail.com> |
Safe Haskell | Safe-Inferred |
General support for pretty printing theories.
- module Text.PrettyPrint.Highlight
- vsep :: Document d => [d] -> d
- fsepList :: Document d => (a -> d) -> [a] -> d
- lineComment :: HighlightDocument d => d -> d
- multiComment :: HighlightDocument d => d -> d
- lineComment_ :: HighlightDocument d => String -> d
- multiComment_ :: HighlightDocument d => [String] -> d
- kwTheoryHeader :: HighlightDocument d => d -> d
- kwEnd :: HighlightDocument d => d
- kwModulo :: HighlightDocument d => String -> String -> d
- kwBy :: HighlightDocument d => d
- kwCase :: HighlightDocument d => d
- kwNext :: HighlightDocument d => d
- kwQED :: HighlightDocument d => d
- kwLemma :: HighlightDocument d => d
- kwAxiom :: HighlightDocument d => d
- kwRuleModulo :: HighlightDocument d => String -> d
- kwInstanceModulo :: HighlightDocument d => String -> d
- kwVariantsModulo :: HighlightDocument d => String -> d
- kwTypesModulo :: HighlightDocument d => String -> d
- opProvides :: HighlightDocument d => d
- opRequires :: HighlightDocument d => d
- opAction :: HighlightDocument d => d
- opPath :: HighlightDocument d => d
- opLess :: HighlightDocument d => d
- opEqual :: HighlightDocument d => d
- opDedBefore :: HighlightDocument d => d
- opEdge :: HighlightDocument d => d
- opExists :: HighlightDocument d => d
- opForall :: HighlightDocument d => d
- opLAnd :: HighlightDocument d => d
- opLOr :: HighlightDocument d => d
- opImp :: HighlightDocument d => d
- opIff :: HighlightDocument d => d
- opDot :: HighlightDocument d => d
General highlighters
module Text.PrettyPrint.Highlight
Additional combinators
fsepList :: Document d => (a -> d) -> [a] -> dSource
Pretty print a list of values as a comma-separated list wrapped in paragraph mode.
Comments
lineComment :: HighlightDocument d => d -> dSource
multiComment :: HighlightDocument d => d -> dSource
lineComment_ :: HighlightDocument d => String -> dSource
multiComment_ :: HighlightDocument d => [String] -> dSource
Keywords
kwTheoryHeader :: HighlightDocument d => d -> dSource
kwEnd :: HighlightDocument d => dSource
:: HighlightDocument d | |
=> String | What |
-> String | modulo theory |
-> d |
kwBy :: HighlightDocument d => dSource
kwCase :: HighlightDocument d => dSource
kwNext :: HighlightDocument d => dSource
kwQED :: HighlightDocument d => dSource
kwLemma :: HighlightDocument d => dSource
kwAxiom :: HighlightDocument d => dSource
Composed forms
kwRuleModulo :: HighlightDocument d => String -> dSource
kwInstanceModulo :: HighlightDocument d => String -> dSource
kwVariantsModulo :: HighlightDocument d => String -> dSource
kwTypesModulo :: HighlightDocument d => String -> dSource
Operators
opProvides :: HighlightDocument d => dSource
opRequires :: HighlightDocument d => dSource
opAction :: HighlightDocument d => dSource
opPath :: HighlightDocument d => dSource
opLess :: HighlightDocument d => dSource
opEqual :: HighlightDocument d => dSource
opDedBefore :: HighlightDocument d => dSource
opEdge :: HighlightDocument d => dSource
opExists :: HighlightDocument d => dSource
opForall :: HighlightDocument d => dSource
opLAnd :: HighlightDocument d => dSource
opLOr :: HighlightDocument d => dSource
opImp :: HighlightDocument d => dSource
opIff :: HighlightDocument d => dSource
opDot :: HighlightDocument d => dSource