Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- gcStatsParser :: Parser (HashMap Text Double)
- gcStatsIncr :: ParserState -> Parser (Maybe ((Text, Double), ParserState))
- data ParserState
- initialParserState :: ParserState
Documentation
gcStatsParser :: Parser (HashMap Text Double) Source #
Parse a map of keys to values. All values are assumed to be
Double
though many are actually integers.
gcStatsIncr :: ParserState -> Parser (Maybe ((Text, Double), ParserState)) Source #
Parser that returns entries as they come in, effectively streaming the entries.
You have to pass subsequent ParserState
results to next
invocations. If function returns Nothing
, parsing is finished.
data ParserState Source #