bishbosh-0.0.0.1: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.Input.CECPOptions

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION

Synopsis

Types

Type-synonyms

Data-types

Constants

tag :: String Source #

Used to qualify XML.

analyseModeTag :: String Source #

Used to qualify XML.

displaySANTag :: String Source #

Used to qualify XML.

editModeTag :: String Source #

Used to qualify XML.

forceModeTag :: String Source #

Used to qualify XML.

ponderModeTag :: String Source #

Used to qualify XML.

postModeTag :: String Source #

Used to qualify XML.

protocolVersionTag :: String Source #

Used to qualify XML.

Functions

getNamedModes :: CECPOptions -> [(String, Mode)] Source #

Get an association-list of named modes.

Constructors

mkCECPOptions Source #

Arguments

:: Mode

Analyse-mode.

-> Bool

Display SAN.

-> Mode

Edit-mode.

-> Mode

Force-mode.

-> Maybe NominalDiffTime

Paused.

-> Mode

Ponder-mode.

-> Mode

Post-mode.

-> ProtocolVersion 
-> CECPFeatures 
-> CECPOptions 

Smart constructor.

Mutators

setProtocolVersion :: ProtocolVersion -> Transformation Source #

Mutator.

updateFeature :: Feature -> Transformation Source #

Mutator.

deleteFeature :: Feature -> Transformation Source #

Mutator.

resetModes :: Transformation Source #

Reset all modes but leave the remaining fields unaltered.