Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines configurable options related to I/O.
- type MaximumPGNNames = Int
- data IOOptions row column
- tag :: String
- outputConfigFilePathTag :: String
- mkIOOptions :: Maybe FilePath -> Maybe MaximumPGNNames -> [PGNOptions] -> Maybe (FilePath, Bool) -> UIOptions row column -> IOOptions row column
- setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation row column
- setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions row column -> Transformation row column
- setMaybePrintMoveTree :: Maybe Depth -> Transformation row column
- updateCECPFeature :: Feature -> Transformation row column
- deleteCECPFeature :: Feature -> Transformation row column
- setVerbosity :: Verbosity -> Transformation row column
Types
Type-synonyms
type MaximumPGNNames = Int Source #
The maximum number names, of matching games from the PGN-database, to display.
Data-types
data IOOptions row column Source #
Defines options related to i/o.
(Eq column, Eq row) => Eq (IOOptions row column) Source # | |
(Show column, Show row) => Show (IOOptions row column) Source # | |
(NFData column, NFData row) => NFData (IOOptions row column) Source # | |
(Num column, Num row) => Default (IOOptions row column) Source # | |
(XmlPickler column, XmlPickler row, Integral column, Integral row, Show column, Show row) => XmlPickler (IOOptions row column) Source # | |
Constants
outputConfigFilePathTag :: String Source #
Used to qualify XML.
Functions
Constructor
:: Maybe FilePath | An optional path to a file, into which the unprocessed configuration, formatted as XML, should be written (obliterating any existing file-contents). |
-> Maybe MaximumPGNNames | The optional maximum number of names, of matching PGN-games, to display; |
-> [PGNOptions] | How to find & process PGN-databases. |
-> Maybe (FilePath, Bool) | Optional path to a file, into which game-state can be persisted (obliterating any existing content), & whether to save this state automatically after each move. |
-> UIOptions row column | |
-> IOOptions row column |
Smart constructor.
Mutators
setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation row column Source #
Mutator.
setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions row column -> Transformation row column Source #
Mutator.
setMaybePrintMoveTree :: Maybe Depth -> Transformation row column Source #
Mutator.
updateCECPFeature :: Feature -> Transformation row column Source #
Mutator.
deleteCECPFeature :: Feature -> Transformation row column Source #
Mutator.
setVerbosity :: Verbosity -> Transformation row column Source #
Mutator.