Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines configurable options related to the process of searching standard-openings.
- type MatchSwitches = (TryToMatchMoves, TryToMatchViaJoiningMove, TryToMatchColourFlippedPosition)
- data StandardOpeningOptions
- tag :: String
- mkStandardOpeningOptions :: TryToMatchMoves -> TryToMatchViaJoiningMove -> TryToMatchColourFlippedPosition -> StandardOpeningOptions
- getMatchSwitches :: StandardOpeningOptions -> MatchSwitches
Types
Type-synonyms
type MatchSwitches = (TryToMatchMoves, TryToMatchViaJoiningMove, TryToMatchColourFlippedPosition) Source #
The switches used to control attempts to find a match amongst standard openings.
Data-types
data StandardOpeningOptions Source #
Defines options related to searching for a move.
Constants
Functions
Constructor
mkStandardOpeningOptions :: TryToMatchMoves -> TryToMatchViaJoiningMove -> TryToMatchColourFlippedPosition -> StandardOpeningOptions Source #
Smart constructor.
Accessors
getMatchSwitches :: StandardOpeningOptions -> MatchSwitches Source #
Accessor.