Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines the data-type which represents the logical (rather than physical) colour of the squares on a chess-board.
- N.B.: conceptually different from the logical colour of pieces.
Types
Data-types
data LogicalColourOfSquare Source #
Constants
black :: LogicalColourOfSquare Source #
Constant.
white :: LogicalColourOfSquare Source #
Constant.
Predicates
isBlack :: LogicalColourOfSquare -> Bool Source #
Whether the specified logical colour is Black
.