| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
Language.Bash.Pretty
Description
Pretty-printing of Bash scripts. This tries to stay close to the format
used by the Bash builtin declare -f.
Documentation
A class of types which may be pretty-printed.
Minimal complete definition
Methods
Pretty-print to a Doc.
prettyList :: [a] -> Doc Source
Pretty-print a list. By default, this separates each element with
a space using hsep.
Instances
| Pretty Char | |
| Pretty Doc | |
| Pretty RValue | |
| Pretty AssignOp | |
| Pretty LValue | |
| Pretty Assign | |
| Pretty Pipeline | |
| Pretty AndOr | |
| Pretty ListTerm | |
| Pretty Statement | |
| Pretty List | |
| Pretty CaseTerm | |
| Pretty CaseClause | |
| Pretty ShellCommand | |
| Pretty IODesc | |
| Pretty Redir | |
| Pretty Command | |
| Pretty a => Pretty [a] | |
| Pretty a => Pretty (Maybe a) | |
| (Pretty a, Pretty b) => Pretty (Either a b) |