replace-megaparsec-1.2.0.0: Find, replace, and edit text patterns with Megaparsec parsers

Copyright©2019 James Brock
LicenseBSD2
MaintainerJames Brock <jamesbrock@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Replace.Megaparsec.Internal.ByteString

Contents

Description

This internal module is for ByteString specializations.

The functions in this module are supposed to be chosen automatically by rewrite rules in the Replace.Megaparsec module, so you should never need to import this module.

Synopsis

Parser combinator

sepCapByteString Source #

Arguments

:: (MonadParsec e s m, s ~ ByteString) 
=> m a

The pattern matching parser sep

-> m [Either (Tokens s) a]