Module
Dodo.Internal
- Package
- purescript-dodo-printer
- Repository
- natefaubion/purescript-dodo-printer
#Doc Source
data Doc a
Documents are built using <>
as horizontal, line-wise concatenation.
The functions in this module let you build documents that respond well
to width constraints (such as flexGroup
and flexAlt
).
Constructors
Append (Doc a) (Doc a)
Indent (Doc a)
Align Int (Doc a)
Annotate a (Doc a)
FlexSelect (Doc a) (Doc a) (Doc a)
FlexAlt (Doc a) (Doc a)
WithPosition (Position -> Doc a)
Local (LocalOptions -> Tuple LocalOptions (Doc a))
Text Int String
Break
Empty