bishbosh-0.0.0.4: 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.

Methods

empty Source #

Arguments

:: a

Constant.

Instances
Empty (TurnsByLogicalColour turn) Source # 
Instance details

Defined in BishBosh.State.TurnsByLogicalColour

Empty (KillerMoves killerMove) Source # 
Instance details

Defined in BishBosh.Search.KillerMoves

Methods

empty :: KillerMoves killerMove Source #

Empty (MoveFrequency move) Source # 
Instance details

Defined in BishBosh.Model.MoveFrequency

Methods

empty :: MoveFrequency move Source #

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

Defined in BishBosh.Property.Empty

Methods

empty :: (a, b) Source #

(Enum x, Enum y, Ord x, Ord y) => Empty (MaybePieceByCoordinates x y) Source # 
Instance details

Defined in BishBosh.State.MaybePieceByCoordinates

(Enum x, Enum y, Ord x, Ord y) => Empty (Board x y) Source # 
Instance details

Defined in BishBosh.State.Board

Methods

empty :: Board x y Source #

Empty (Transpositions move positionHash) Source # 
Instance details

Defined in BishBosh.Search.Transpositions

Methods

empty :: Transpositions move positionHash Source #

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

Defined in BishBosh.Model.Game

Methods

empty :: Game x y Source #

Empty (QualifiedMoveForest x y) Source # 
Instance details

Defined in BishBosh.ContextualNotation.QualifiedMoveForest

Empty (DynamicMoveData x y positionHash) Source # 
Instance details

Defined in BishBosh.Search.DynamicMoveData

Methods

empty :: DynamicMoveData x y positionHash Source #