Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
Type-classes
class ReadsFEN a where Source #
An alternative to Read
.
ReadsFEN LogicalColour Source # | |
ReadsFEN Piece Source # | |
(Enum x, Ord x, Show x) => ReadsFEN (CastleableRooksByLogicalColour x) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ReadsFEN (MaybePieceByCoordinates x y) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ReadsFEN (Board x y) Source # | |
(Enum x, Enum y, Ord x, Ord y, Read x, Read y, Show x, Show y) => ReadsFEN (Game x y) Source # | |
class ShowsFEN a where Source #
An alternative to Show
.
ShowsFEN LogicalColour Source # | |
ShowsFEN Piece Source # | |
(Enum x, Eq x) => ShowsFEN (CastleableRooksByLogicalColour x) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ShowsFEN (MaybePieceByCoordinates x y) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ShowsFEN (Board x y) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ShowsFEN (Game x y) Source # | |
Constants
showsNullField :: ShowS Source #
The standard way to denote the absence of a field.
showsSeparator :: ShowS Source #
The standard separator between fields in FEN.