Copyright | © 2019 Vincent Archambault |
---|---|
License | 0BSD |
Maintainer | Vincent Archambault <archambault.v@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
The module Data.SExpresso.Parse re-exports the functions of this module.
Synopsis
- plainSExprParser :: (MonadParsec e s m, Token s ~ Char) => m a -> SExprParser m () a
Documentation
plainSExprParser :: (MonadParsec e s m, Token s ~ Char) => m a -> SExprParser m () a Source #
The function plainSExprParser
accepts a parser for atoms and
returns a SExprParser
for a stream of Char
with the following
properties :
- The opening tag is (.
- The closing tag is ).
- The space parser is
space1
. - Space is always mandatory between atoms.