bishbosh-0.1.4.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Input.IOOptions

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines configurable options related to i/o.
Synopsis

Types

Type-synonyms

Data-types

data IOOptions Source #

Defines options related to i/o.

Instances

Instances details
Eq IOOptions Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Show IOOptions Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Default IOOptions Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

def :: IOOptions #

NFData IOOptions Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

rnf :: IOOptions -> () #

XmlPickler IOOptions Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

xpickle :: PU IOOptions #

Constants

tag :: String Source #

Used to qualify XML.

outputConfigFilePathTag :: String Source #

Used to qualify XML.

Functions

persist Source #

Arguments

:: Show game 
=> IOOptions 
-> Bool

Verbose.

-> game 
-> IO () 

Persist the specified game to file.

Constructor

mkIOOptions Source #

Arguments

:: 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; Nothing implies unlimited.

-> [PGNOptions]

How to find & process PGN-databases.

-> Maybe PersistenceSpecification

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.

setMaybePrintMoveTree :: Maybe Depth -> Transformation Source #

Mutator.

updateCECPFeature :: Feature -> Transformation Source #

Mutator.

deleteCECPFeature :: Feature -> Transformation Source #

Mutator.

setVerbosity :: Verbosity -> Transformation Source #

Mutator.