Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
Type-classes
class ReadsEPD a => ReadsFEN a where Source #
An alternative to Read
.
Nothing
Instances
ReadsFEN LogicalColour Source # | |
Defined in BishBosh.Attribute.LogicalColour | |
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 # | |
Defined in BishBosh.State.MaybePieceByCoordinates 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, Show x, Show y) => ReadsFEN (Game x y) Source # | |
class ShowsEPD a => ShowsFEN a where Source #
An alternative to Show
.
Nothing
Instances
ShowsFEN LogicalColour Source # | |
Defined in BishBosh.Attribute.LogicalColour showsFEN :: LogicalColour -> ShowS 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 # | |
Defined in BishBosh.State.MaybePieceByCoordinates 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 # | |