bishbosh-0.0.0.5: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.Notation.ICCFNumeric

Contents

Description

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

Types

Data-types

data ICCFNumeric x y Source #

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

Instances
(Eq x, Eq y) => Eq (ICCFNumeric x y) Source # 
Instance details

Defined in BishBosh.Notation.ICCFNumeric

Methods

(==) :: ICCFNumeric x y -> ICCFNumeric x y -> Bool #

(/=) :: ICCFNumeric x y -> ICCFNumeric x y -> Bool #

(Enum x, Enum y, Ord x, Ord y) => Read (ICCFNumeric x y) Source # 
Instance details

Defined in BishBosh.Notation.ICCFNumeric

(Enum x, Enum y) => Show (ICCFNumeric x y) Source # 
Instance details

Defined in BishBosh.Notation.ICCFNumeric

Methods

showsPrec :: Int -> ICCFNumeric x y -> ShowS #

show :: ICCFNumeric x y -> String #

showList :: [ICCFNumeric x y] -> ShowS #

Promotable (ICCFNumeric x y) Source # 
Instance details

Defined in BishBosh.Notation.ICCFNumeric

Constants

origin :: (Int, Int) Source #

The origin.

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

showsCoordinates :: (Enum x, Enum y) => Coordinates x y -> ShowS Source #

Shows the specified coordinates.

Constructors

mkICCFNumeric :: Move x y -> Maybe Rank -> ICCFNumeric x y Source #

Smart constructor.

mkICCFNumeric' :: Promotable promotable => Move x y -> promotable -> ICCFNumeric x y Source #

Smart constructor.