Safe Haskell | None |
---|---|
Language | Haskell2010 |
BishBosh.ContextualNotation.PGNComment
Description
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Implements a parser for PGN-comments.
Types
Data-types
data PGNComment Source #
Represents a comment in PGN.
Constructors
BlockComment String | |
LineComment String |
Instances
Constants
blockCommentEnd :: Char Source #
Constant comment end-delimiter.
lineCommentEnd :: Char Source #
Constant comment end-delimiter.
Functions
blockCommentParser :: TextParser PGNComment Source #
Parses PGN block-comments.
parser :: TextParser String Source #
Parses PGN-comments.
Accessors
getString :: PGNComment -> String Source #
Accessor.