fen2s-1.2: Converting a chess position from FEN notation to text

LicenseMIT
MaintainerJoe Leslie-Hurd <joe@gilith.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Chess

Description

 

Documentation

data Side Source

Constructors

Black 
White 

Instances

data Piece Source

Constructors

King 
Queen 
Rook 
Bishop 
Knight 
Pawn 

Instances

data Edge Source

Constructors

NoEdge 
SingleEdge 
DoubleEdge 

Instances

newtype Board Source

Constructors

Board 

Fields

unBoard :: [[Maybe (Side, Piece)]]
 

Instances