| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
BishBosh.Input.PGNOptions
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION- Defines configurable options for PGN-processing.
Synopsis
- data PGNOptions
- tag :: String
- databaseFilePathTag :: String
- mkPGNOptions :: FilePath -> Maybe Decompressor -> IsStrictlySequential -> ValidateMoves -> TextEncoding -> [Tag] -> NPlies -> MaybeMaximumGames -> PGNOptions
Types
Type-synonyms
Data-types
data PGNOptions Source #
Defines the options related to PGN.
Instances
| Eq PGNOptions Source # | |
Defined in BishBosh.Input.PGNOptions | |
| Show PGNOptions Source # | |
Defined in BishBosh.Input.PGNOptions Methods showsPrec :: Int -> PGNOptions -> ShowS # show :: PGNOptions -> String # showList :: [PGNOptions] -> ShowS # | |
| Default PGNOptions Source # | |
Defined in BishBosh.Input.PGNOptions Methods def :: PGNOptions # | |
| NFData PGNOptions Source # | |
Defined in BishBosh.Input.PGNOptions Methods rnf :: PGNOptions -> () # | |
| XmlPickler PGNOptions Source # | |
Defined in BishBosh.Input.PGNOptions Methods xpickle :: PU PGNOptions # | |
Constants
databaseFilePathTag :: String Source #
Used to qualify XML.
Functions
Constructor
Arguments
| :: FilePath | Database file-path. |
| -> Maybe Decompressor | Optional name of an executable by which to decompress the specified file. |
| -> IsStrictlySequential | |
| -> ValidateMoves | |
| -> TextEncoding | |
| -> [Tag] | Optional identification tags. |
| -> NPlies | The minimum plies. |
| -> MaybeMaximumGames | The optional maximum number of games to read from the database. |
| -> PGNOptions |
Smart constructor.