Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Smith-notation
- data Smith x y
- origin :: (Int, Int)
- regexSyntax :: String
- showsCoordinates :: (Enum x, Enum y) => Coordinates x y -> ShowS
- fromQualifiedMove :: QualifiedMove x y -> Smith x y
Types
Data-types
Defines a move, to enable io in Smith/-notation.
Constants
regexSyntax :: String Source #
Defines using a regex, the required syntax.
Functions
showsCoordinates :: (Enum x, Enum y) => Coordinates x y -> ShowS Source #
Shows the specified coordinates.
Constructor
fromQualifiedMove :: QualifiedMove x y -> Smith x y Source #
Constructor.