bishbosh-0.0.0.1: Plays chess.

Safe HaskellSafe
LanguageHaskell2010

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.

Synopsis

Type-classes

class Empty a where Source #

An interface which data which can support the concept of being empty, may implement.

Minimal complete definition

empty

Methods

empty Source #

Arguments

:: a

Constant.

Instances

Empty (TurnsByLogicalColour turn) Source # 
Empty (KillerMoves killerMove) Source # 

Methods

empty :: KillerMoves killerMove Source #

Empty (MoveFrequency move) Source # 

Methods

empty :: MoveFrequency move Source #

(Empty a, Empty b) => Empty (a, b) Source # 

Methods

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 # 

Methods

empty :: Board x y Source #

Empty (Transpositions move positionHash) Source # 

Methods

empty :: Transpositions move positionHash Source #

(Enum x, Enum y, Ord x, Ord y, Show x, Show y) => Empty (Game x y) Source # 

Methods

empty :: Game x y Source #

Empty (QualifiedMoveForest x y) Source # 
Empty (DynamicMoveData x y positionHash) Source # 

Methods

empty :: DynamicMoveData x y positionHash Source #