Modulecabal-install-3.12.1.0Haskell2010
Distribution.Client.Init.Format
Pretty printing and field formatting utilities used for file creation.
- 12 values
- Packagecabal-install-3.12.1.0
- Exports12
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceFormat.hs
cabal file formatters
7 declarationsConstruct a PrettyField from a field that can be automatically
converted to a Doc via display.
value
fieldD :: FieldNameName of the field
-> DocField contents
-> [String]Comment to explain the field
-> BoolShould the field be included (commented out) even if blank?
-> WriteOpts-> PrettyField FieldAnnotation
Construct a PrettyField from a Doc Flag.
A field annotation instructing the pretty printer to comment out the field and any contents, with no comments.
A field annotation with the specified comment lines.
A field annotation with no comments.