Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- skip :: Parser ()
- format :: Parser Format
- char :: Parser Int8
- uchar :: Parser Word8
- int :: Parser Int
- uint :: Parser Word32
- int16 :: Parser Int16
- uint16 :: Parser Word16
- float :: Parser Float
- line :: Parser ByteString
- scalarProperty :: Parser Property
- scalarType :: Parser ScalarT
- word :: Parser ByteString
- listProperty :: Parser Property
- parseList :: ScalarT -> Parser [Scalar]
- property :: Parser Property
- element :: Parser Element
- parseScalar :: ScalarT -> Parser Scalar
- multiProps :: [Property] -> Parser [Scalar]
- header :: Parser (Format, [Element])
- parseSkip :: Parser a -> ByteString -> ByteString
Documentation
Numeric type parsers
line :: Parser ByteString Source #
Take everything up to the end of the line
word :: Parser ByteString Source #
Take the next white space-delimited word.
parseSkip :: Parser a -> ByteString -> ByteString Source #
Advance a ByteString
to where a given Parser
finishes. An
error
is raised if the parser fails to complete.