Portability | non-portable |
---|---|
Stability | provisional |
Maintainer | ekmett@gmail.com |
Safe Haskell | Safe-Infered |
A toolbox for specifying comment and identifier styles
This must be imported directly as it is not re-exported elsewhere
- data CommentStyle = CommentStyle {}
- emptyCommentStyle, haskellCommentStyle, javaCommentStyle :: CommentStyle
- buildSomeSpaceParser :: CharParsing m => m () -> CommentStyle -> m ()
- emptyIdents, haskellIdents, haskell98Idents :: TokenParsing m => IdentifierStyle m
- emptyOps, haskellOps, haskell98Ops :: TokenParsing m => IdentifierStyle m
Comment and white space styles
data CommentStyle Source
buildSomeSpaceParser :: CharParsing m => m () -> CommentStyle -> m ()Source
Use this to easily build the definition of whiteSpace for your MonadParser given a comment style and an underlying someWhiteSpace parser
Identifier Styles
Operator Styles
emptyOps, haskellOps, haskell98Ops :: TokenParsing m => IdentifierStyle mSource