bishbosh-0.0.0.5: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.Notation.Smith

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Smith-notation
Synopsis

Types

Data-types

data Smith x y Source #

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

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

Defined in BishBosh.Notation.Smith

Methods

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

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

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

Defined in BishBosh.Notation.Smith

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

Defined in BishBosh.Notation.Smith

Methods

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

show :: Smith x y -> String #

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

Promotable (Smith x y) Source # 
Instance details

Defined in BishBosh.Notation.Smith

Constants

origin :: (Int, Int) Source #

The origin.

regexSyntax :: String Source #

Defines using a regex, the required syntax.

Functions

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

Shows the specified coordinates.

Constructor

fromQualifiedMove :: QualifiedMove x y -> Smith x y Source #

Constructor.