Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines options related to the application's user-interface.
Synopsis
- type EitherNativeUIOrCECPOptions row column = Either (NativeUIOptions row column) CECPOptions
- data UIOptions row column
- tag :: String
- printMoveTreeTag :: String
- nDecimalDigitsTag :: String
- mkUIOptions :: MoveNotation -> Maybe Depth -> NDecimalDigits -> EitherNativeUIOrCECPOptions row column -> Verbosity -> UIOptions row column
- updateCECPFeature :: Feature -> Transformation row column
- deleteCECPFeature :: Feature -> Transformation row column
- isCECPManualMode :: UIOptions row column -> Bool
Types
Type-synonyms
type EitherNativeUIOrCECPOptions row column = Either (NativeUIOptions row column) CECPOptions Source #
Self-documentation.
Data-types
data UIOptions row column Source #
Defines the application's user-interface.
Instances
(Eq row, Eq column) => Eq (UIOptions row column) Source # | |
(Show row, Show column) => Show (UIOptions row column) Source # | |
(NFData column, NFData row) => NFData (UIOptions row column) Source # | |
Defined in BishBosh.Input.UIOptions | |
(Num row, Num column) => Default (UIOptions row column) Source # | |
Defined in BishBosh.Input.UIOptions | |
(XmlPickler column, XmlPickler row, Integral column, Integral row, Show column, Show row) => XmlPickler (UIOptions row column) Source # | |
Defined in BishBosh.Input.UIOptions |
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 row column | |
-> Verbosity | Set the threshold for logging. |
-> UIOptions row column |
Smart constructor.
Mutators
updateCECPFeature :: Feature -> Transformation row column Source #
Mutator.
deleteCECPFeature :: Feature -> Transformation row column Source #
Mutator.
Predicates
isCECPManualMode :: UIOptions row column -> Bool Source #
Whether the chess-engine has been temporarily turned-off in order to set-up pieces.