Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines the translation between pieces & Unicode figurines; https://en.wikipedia.org/wiki/Chess_symbols_in_Unicode.
Synopsis
- toFigurine :: Piece -> Figurine
- fromFigurine :: Figurine -> Maybe Piece
Types
Type-synonyms
Constants
Functions
toFigurine :: Piece -> Figurine Source #
Returns the Unicode-character for the specified piece.
fromFigurine :: Figurine -> Maybe Piece Source #
Returns any piece which corresponds to the specified Unicode character.