Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines configurable options related to i/o.
Synopsis
- data IOOptions
- tag :: String
- outputConfigFilePathTag :: String
- mkIOOptions :: Maybe FilePath -> Maybe NGames -> [PGNOptions] -> Maybe (FilePath, Bool) -> UIOptions -> IOOptions
- setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation
- setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation
- setMaybePrintMoveTree :: Maybe Depth -> Transformation
- updateCECPFeature :: Feature -> Transformation
- deleteCECPFeature :: Feature -> Transformation
- setVerbosity :: Verbosity -> Transformation
Types
Type-synonyms
Data-types
Defines options related to i/o.
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 NGames | 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 | |
-> IOOptions |
Smart constructor.
Mutators
setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation Source #
Mutator.
setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions -> Transformation Source #
Mutator.
setMaybePrintMoveTree :: Maybe Depth -> Transformation Source #
Mutator.
updateCECPFeature :: Feature -> Transformation Source #
Mutator.
deleteCECPFeature :: Feature -> Transformation Source #
Mutator.
setVerbosity :: Verbosity -> Transformation Source #
Mutator.