Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
type Parser = Parsec ByteString () Source
word8 :: Stream ByteString m Word8 => Word8 -> ParsecT ByteString u m Word8 Source
word16 :: Stream ByteString m Word8 => Word16 -> ParsecT ByteString u m Word16 Source
word32 :: Stream ByteString m Word8 => Word32 -> ParsecT ByteString u m Word32 Source
satisfy :: Stream ByteString m Word8 => (Word8 -> Bool) -> ParsecT ByteString u m Word8 Source
anyWord8 :: Stream ByteString m Word8 => ParsecT ByteString u m Word8 Source
anyWord16 :: Stream ByteString m Word8 => ParsecT ByteString u m Word16 Source
anyWord32 :: Stream ByteString m Word8 => ParsecT ByteString u m Word32 Source
string :: Stream ByteString m Word8 => ByteString -> ParsecT ByteString u m ByteString Source
block :: Stream ByteString m Word8 => Int -> ParsecT ByteString u m ByteString Source
allowedValues :: (a -> Parser a) -> [(a, b)] -> Parser b Source