Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
General helper functions for printing Drasil documents.
Synopsis
- ($^$) :: Doc -> Doc -> Doc
- vsep :: [Doc] -> Doc
- bslash :: Doc
- dbs :: Doc
- assign :: Doc
- eq :: Doc
- lt :: Doc
- gt :: Doc
- leq :: Doc
- geq :: Doc
- dlr :: Doc
- ast :: Doc
- pls :: Doc
- hat :: Doc
- slash :: Doc
- hyph :: Doc
- unders :: Doc
- pipe :: Doc
- emptyline :: Doc
- sq :: String -> Doc
- br :: String -> Doc
- dot :: Doc -> Doc
- comm :: Doc -> Doc
- dollarDoc :: Doc -> Doc
- paren :: String -> String
- brace :: String -> String
- dollar :: String -> String
- sqbrac :: String -> String
- angbrac :: String -> String
- upcase :: String -> Doc
- lowcase :: String -> Doc
- sufx :: Int -> String
- sufxer :: Int -> String
- sufxPrint :: [CiteField] -> String
Documentation
($^$) :: Doc -> Doc -> Doc infixl 5 Source #
Custom infix operator for concatenating
two Doc
s vertically with an empty line in between.
Square brackets.
Text-rendering helper for wrapping strings with brackets/braces.
Curly braces.
Text-rendering helper for wrapping strings with brackets/braces.
Dot symbol (".")
Text-rendering helper for appending a period/decimal point (dot symbol) or a comma.
Comma (",")
Text-rendering helper for appending a period/decimal point (dot symbol) or a comma.
angbrac :: String -> String Source #
Wraps in angular brackets ("<>").
Basic plaintext (String) wrapping.