bishbosh-0.0.0.5: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.Input.IOOptions

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines configurable options related to I/O.
Synopsis

Types

Type-synonyms

type MaximumPGNNames = Int Source #

The maximum number names, of matching games from the PGN-database, to display.

Data-types

data IOOptions row column Source #

Defines options related to i/o.

Instances
(Eq row, Eq column) => Eq (IOOptions row column) Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

(==) :: IOOptions row column -> IOOptions row column -> Bool #

(/=) :: IOOptions row column -> IOOptions row column -> Bool #

(Show column, Show row) => Show (IOOptions row column) Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

showsPrec :: Int -> IOOptions row column -> ShowS #

show :: IOOptions row column -> String #

showList :: [IOOptions row column] -> ShowS #

(NFData column, NFData row) => NFData (IOOptions row column) Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

rnf :: IOOptions row column -> () #

(Num column, Num row) => Default (IOOptions row column) Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

def :: IOOptions row column #

(XmlPickler column, XmlPickler row, Integral column, Integral row, Show column, Show row) => XmlPickler (IOOptions row column) Source # 
Instance details

Defined in BishBosh.Input.IOOptions

Methods

xpickle :: PU (IOOptions row column) #

Constants

tag :: String Source #

Used to qualify XML.

outputConfigFilePathTag :: String Source #

Used to qualify XML.

Functions

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 MaximumPGNNames

The optional maximum number of names, of matching PGN-games, to display; Nothing implies no maximum.

-> [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 row column 
-> IOOptions row column 

Smart constructor.

Mutators

setMaybeOutputConfigFilePath :: Maybe FilePath -> Transformation row column Source #

Mutator.

setEitherNativeUIOrCECPOptions :: EitherNativeUIOrCECPOptions row column -> Transformation row column Source #

Mutator.

setMaybePrintMoveTree :: Maybe Depth -> Transformation row column Source #

Mutator.

updateCECPFeature :: Feature -> Transformation row column Source #

Mutator.

deleteCECPFeature :: Feature -> Transformation row column Source #

Mutator.

setVerbosity :: Verbosity -> Transformation row column Source #

Mutator.