replace-megaparsec-1.4.3.0: Find, replace, and split string patterns with Megaparsec parsers (instead of regex)

Replace.Megaparsec.Internal.Text

Contents

Description

This internal module is for Text 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

# Parser combinator

Arguments

 :: (MonadParsec e s m, s ~ Text) => m a The pattern matching parser sep -> m [Either (Tokens s) a]

Arguments

 :: (MonadParsec e s m, s ~ Text) => m a The pattern matching parser sep -> m (Tokens s, a)