Safe Haskell | None |
---|---|
Language | Haskell2010 |
Text.Parsnip.Internal.Mark
Synopsis
Documentation
snip :: forall s. KnownBase s => Mark s -> Mark s -> ByteString Source #
To grab all the text covered by a given parser, consider using snipping
and applying it to a combinator simply recognizes the content rather than returns
it. snipping
a ByteString
is significantly cheaper than assembling one from
smaller fragments.