Safe Haskell | None |
---|---|
Language | Haskell2010 |
even if you use these combinators.
Synopsis
- satisfy :: (Word8 -> Bool) -> Parser s Word8
- word8 :: Word8 -> Parser s Word8
- notWord8 :: Word8 -> Parser s Word8
- anyWord8 :: Parser s Word8
- while :: KnownBase s => (Word8 -> Bool) -> Parser s ByteString
- whileSome :: KnownBase s => (Word8 -> Bool) -> Parser s ByteString
- till :: KnownBase s => (Word8 -> Bool) -> Parser s ByteString
- tillSome :: KnownBase s => (Word8 -> Bool) -> Parser s ByteString
- tillWord8 :: KnownBase s => Word8 -> Parser s ByteString
- skipWhile :: (Word8 -> Bool) -> Parser s ()
- skipWhileSome :: (Word8 -> Bool) -> Parser s ()
- skipTill :: (Word8 -> Bool) -> Parser s ()
- skipTillSome :: (Word8 -> Bool) -> Parser s ()
- skipTillWord8 :: Word8 -> Parser s ()
- previousWord8 :: forall s. KnownBase s => Parser s (Maybe Word8)
- previousWord8' :: forall s. KnownBase s => Parser s Word8
- nextWord8 :: Parser s (Maybe Word8)
- nextWord8' :: Parser s Word8
Documentation
skipTillWord8 :: Word8 -> Parser s () Source #
previousWord8 :: forall s. KnownBase s => Parser s (Maybe Word8) Source #
Peek at the previous character. Always succeeds.
previousWord8' :: forall s. KnownBase s => Parser s Word8 Source #
Peek at the previous character. Fails if we're at the start of input.
nextWord8' :: Parser s Word8 Source #