Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
BishBosh.Property.Empty
Contents
Description
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- An interface for data which can support the concept of being empty.
- N.B.: the empty state of the type must be unique.
- cf. Data.Default or
zero
for a numeric type.
- class Empty a where
Type-classes
An interface which data which can support the concept of being empty, may implement.
Minimal complete definition
Instances
Empty (TurnsByLogicalColour turn) Source # | |
Empty (KillerMoves killerMove) Source # | |
Empty (MoveFrequency move) Source # | |
(Empty a, Empty b) => Empty (a, b) Source # | |
(Enum x, Enum y, Ord x, Ord y) => Empty (MaybePieceByCoordinates x y) Source # | |
(Enum x, Enum y, Ord x, Ord y) => Empty (Board x y) Source # | |
Empty (Transpositions move positionHash) Source # | |
(Enum x, Enum y, Ord x, Ord y, Show x, Show y) => Empty (Game x y) Source # | |
Empty (QualifiedMoveForest x y) Source # | |
Empty (DynamicMoveData x y positionHash) Source # | |