bishbosh-0.1.4.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Notation.ICCFNumeric

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
https://en.wikipedia.org/wiki/ICCF_numeric_notation.
Synopsis

Types

Data-types

data ICCFNumeric Source #

Defines a move, to enable io in ICCF Numeric/-notation.

Constants

notation :: Notation Source #

Define the parameters of the notation, using the minimum permissible values for x & y coordinates.

regexSyntax :: String Source #

Defines using a regex, the required syntax.

toRank :: [(Int, Rank)] Source #

Constant translation from integral promotion-specifications to the corresponding rank.

Functions

Constructors

mkICCFNumeric Source #

Arguments

:: Move 
-> Maybe Rank

The optional promotion-rank.

-> ICCFNumeric 

Smart constructor.

mkICCFNumeric' Source #

Arguments

:: Promotable promotable 
=> Move 
-> promotable

The datum from which to extract the optional promotion-rank.

-> ICCFNumeric 

Smart constructor.