Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines options related to the application's user-interface.
Synopsis
- type EitherNativeUIOrCECPOptions = Either NativeUIOptions CECPOptions
- data UIOptions
- tag :: String
- printMoveTreeTag :: String
- nDecimalDigitsTag :: String
- mkUIOptions :: MoveNotation -> Maybe Depth -> NDecimalDigits -> EitherNativeUIOrCECPOptions -> Verbosity -> UIOptions
- updateCECPFeature :: Feature -> Transformation
- deleteCECPFeature :: Feature -> Transformation
- isCECPManualMode :: UIOptions -> Bool
Types
Type-synonyms
type EitherNativeUIOrCECPOptions = Either NativeUIOptions CECPOptions Source #
Self-documentation.
Data-types
Defines the application's user-interface.
Constants
printMoveTreeTag :: String Source #
Used to qualify XML.
nDecimalDigitsTag :: String Source #
Used to qualify XML.
Functions
Constructors
:: MoveNotation | The chess-notation used to describe moves. |
-> Maybe Depth | |
-> NDecimalDigits | The precision to which fractional auxiliary data is displayed. |
-> EitherNativeUIOrCECPOptions | |
-> Verbosity | Set the threshold for logging. |
-> UIOptions |
Smart constructor.
Mutators
updateCECPFeature :: Feature -> Transformation Source #
Mutator.
deleteCECPFeature :: Feature -> Transformation Source #
Mutator.
Predicates
isCECPManualMode :: UIOptions -> Bool Source #
Whether the chess-engine has been temporarily turned-off in order to set-up pieces.