Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
Type-classes
class ReadsEPD a where Source #
An alternative to Read
.
Instances
ReadsEPD LogicalColour Source # | |
Defined in BishBosh.Attribute.LogicalColour | |
ReadsEPD Piece Source # | |
(Enum x, Ord x, Show x) => ReadsEPD (CastleableRooksByLogicalColour x) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ReadsEPD (MaybePieceByCoordinates x y) Source # | |
Defined in BishBosh.State.MaybePieceByCoordinates readsEPD :: ReadS (MaybePieceByCoordinates x y) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ReadsEPD (Board x y) Source # | |
(Enum x, Enum y, Ord x, Ord y, Show x, Show y) => ReadsEPD (Game x y) Source # | |
class ShowsEPD a where Source #
An alternative to Show
.
Instances
ShowsEPD LogicalColour Source # | |
Defined in BishBosh.Attribute.LogicalColour showsEPD :: LogicalColour -> ShowS Source # | |
ShowsEPD Piece Source # | |
(Enum x, Eq x) => ShowsEPD (CastleableRooksByLogicalColour x) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ShowsEPD (MaybePieceByCoordinates x y) Source # | |
Defined in BishBosh.State.MaybePieceByCoordinates showsEPD :: MaybePieceByCoordinates x y -> ShowS Source # | |
(Enum x, Enum y, Ord x, Ord y) => ShowsEPD (Board x y) Source # | |
(Enum x, Enum y, Ord x, Ord y) => ShowsEPD (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 EPD.