Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Permits construction & destruction of views of the board.
Synopsis
- class View view where
- fromAssocs :: [LocatedPiece] -> view
- toAssocs :: Seeker seeker => seeker -> [LocatedPiece]
- translate :: (Seeker seeker, View view) => seeker -> view
Type-classes
class View view where Source #
An interface which may be implemented by data which represent a view of the board.
fromAssocs :: [LocatedPiece] -> view Source #
Constructor.
Instances
Functions
toAssocs :: Seeker seeker => seeker -> [LocatedPiece] Source #
Deconstructor.