bishbosh-0.1.4.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.StateProperty.View

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Permits construction & destruction of views of the board.
Synopsis

Type-classes

class View view where Source #

An interface which may be implemented by data which represent a view of the board.

Methods

fromAssocs :: [LocatedPiece] -> view Source #

Constructor.

Functions

toAssocs :: Seeker seeker => seeker -> [LocatedPiece] Source #

Deconstructor.

translate :: (Seeker seeker, View view) => seeker -> view Source #

Convert between implementations.