Copyright | ©2019 James Brock |
---|---|
License | BSD2 |
Maintainer | James Brock <jamesbrock@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
This internal module is for ByteString
specializations.
The functions in this module are intended to be chosen automatically by rewrite rules in the Replace.Megaparsec module, so you should never need to import this module.
Names in this module may change without a major version increment.
Synopsis
- sepCapByteString :: forall e s m a. (MonadParsec e s m, s ~ ByteString) => m a -> m [Either (Tokens s) a]
- anyTillByteString :: forall e s m a. (MonadParsec e s m, s ~ ByteString) => m a -> m (Tokens s, a)
Parser combinator
:: (MonadParsec e s m, s ~ ByteString) | |
=> m a | The pattern matching parser |
-> m [Either (Tokens s) a] |
:: (MonadParsec e s m, s ~ ByteString) | |
=> m a | The pattern matching parser |
-> m (Tokens s, a) |