| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
BishBosh.Property.ForsythEdwards
Contents
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION
Type-classes
class ReadsFEN a where Source #
An alternative to Read.
Instances
| ReadsFEN LogicalColour Source # | |
Defined in BishBosh.Attribute.LogicalColour Methods | |
| ReadsFEN Piece Source # | |
| (Enum x, Ord x, Show x) => ReadsFEN (CastleableRooksByLogicalColour x) Source # | |
Defined in BishBosh.State.CastleableRooksByLogicalColour Methods readsFEN :: ReadS (CastleableRooksByLogicalColour x) Source # | |
| (Enum x, Enum y, Ord x, Ord y) => ReadsFEN (MaybePieceByCoordinates x y) Source # | |
Defined in BishBosh.State.MaybePieceByCoordinates Methods readsFEN :: ReadS (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.
Instances
| ShowsFEN LogicalColour Source # | |
Defined in BishBosh.Attribute.LogicalColour Methods showsFEN :: LogicalColour -> ShowS Source # | |
| ShowsFEN Piece Source # | |
| (Enum x, Eq x) => ShowsFEN (CastleableRooksByLogicalColour x) Source # | |
Defined in BishBosh.State.CastleableRooksByLogicalColour Methods showsFEN :: CastleableRooksByLogicalColour x -> ShowS Source # | |
| (Enum x, Enum y, Ord x, Ord y) => ShowsFEN (MaybePieceByCoordinates x y) Source # | |
Defined in BishBosh.State.MaybePieceByCoordinates Methods showsFEN :: MaybePieceByCoordinates x y -> ShowS 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.