Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Parses a PGN-database.
Synopsis
- type PGNDatabase x y = [PGN x y]
- parseIO :: (Enum x, Enum y, Ord x, Ord y, Show x, Show y) => FilePath -> IsStrictlySequential -> ValidateMoves -> TextEncoding -> [Tag] -> IO (Either String (PGNDatabase x y))
Types
Type-synonyms
type PGNDatabase x y = [PGN x y] Source #
Self-documentation.
Functions
:: (Enum x, Enum y, Ord x, Ord y, Show x, Show y) | |
=> FilePath | |
-> IsStrictlySequential | |
-> ValidateMoves | |
-> TextEncoding | The conversion-scheme between byte-sequences & Unicode characters. |
-> [Tag] | |
-> IO (Either String (PGNDatabase x y)) |
Reads a PGN-database from the specified file-path.