Safe Haskell | Safe-Infered |
---|
Utility functions for several parsers
This module holds the definition for some utility functions for two
parsers. The parser for the procstat
file and the parser for the
procdiskstats
file.
- skipSpaces :: Parser ()
- numberP :: Parser Int
- integerP :: Parser Integer
- stringP :: Parser String
Utility functions
skipSpaces :: Parser ()Source
Our own space-skipping function, because A.skipSpace also skips newline characters. It skips ZERO or more spaces, so it does not fail if there are no spaces.