Copyright | © 2017 Parnell Springmeyer |
---|---|
License | All Rights Reserved |
Maintainer | Parnell Springmeyer <parnell@digitalmentat.com> |
Stability | stable |
Safe Haskell | Safe |
Language | Haskell2010 |
Attoparsec utilities.
Documentation
skipOnlySpace :: Attoparsec.Text.Parser () Source #
Skip whitespace characters, only!
Data.Attoparsec.Text.skipSpace
uses the isSpace
predicate from
Data.Char
which also includes control characters such as a return
and newline which we need to *not* consume in some cases during
parsing.
nonHeadline :: Attoparsec.Text.Parser Text.Text Source #
Parse a non-heading line of a section.