|
|
|
|
|
|
Synopsis |
|
|
|
|
Types
|
|
|
Constructors | | Instances | |
|
|
|
Constructors | | Instances | |
|
|
|
NOTE: we do not strip the leading or trailing whitespace in the
name or value
| Constructors | | Instances | |
|
|
|
|
|
|
|
|
|
|
class ControlFunctions a where | Source |
|
| Methods | | parseControlFromFile filepath is a simple wrapper function
that parses filepath using pControl
| | | parseControlFromHandle sourceName handle - sourceName is only used for error reporting
| | | parseControlFromString sourceName text - sourceName is only used for error reporting
| | | lookupP fieldName paragraph looks up a Field in a Paragraph.
N.B. trailing and leading whitespace is not stripped.
| | | Strip the trailing and leading space and tab characters from a
string. Folded whitespace is not unfolded. This should probably
be moved to someplace more general purpose.
| | |
| | Instances | |
|
|
Control File Parser
|
|
|
A parser for debian control file. This parser handles control files
that end without a newline as well as ones that have several blank
lines at the end. It is very liberal and does not attempt validate
the fields in any way. All trailing, leading, and folded whitespace
is preserved in the field values. See stripWS.
|
|
Helper Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Move selected fields to the beginning of a paragraph.
|
|
Produced by Haddock version 2.4.2 |