Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- https://en.wikipedia.org/wiki/ICCF_numeric_notation.
- data ICCFNumeric x y
- origin :: (Int, Int)
- regexSyntax :: String
- toRank :: [(Int, Rank)]
- showsCoordinates :: (Enum x, Enum y) => Coordinates x y -> ShowS
- mkICCFNumeric :: Move x y -> Maybe Rank -> ICCFNumeric x y
- mkICCFNumeric' :: Promotable promotable => Move x y -> promotable -> ICCFNumeric x y
Types
Data-types
data ICCFNumeric x y Source #
Defines a move, to enable io in ICCF Numeric/-notation.
(Eq y, Eq x) => Eq (ICCFNumeric x y) Source # | |
(Enum x, Enum y, Ord x, Ord y) => Read (ICCFNumeric x y) Source # | |
(Enum x, Enum y) => Show (ICCFNumeric x y) Source # | |
Promotable (ICCFNumeric x y) Source # | |
Constants
regexSyntax :: String Source #
Defines using a regex, the required syntax.
toRank :: [(Int, Rank)] Source #
Constant translation from integral promotion-specifications to the corresponding rank.
Functions
showsCoordinates :: (Enum x, Enum y) => Coordinates x y -> ShowS Source #
Shows the specified coordinates.
Constructors
mkICCFNumeric :: Move x y -> Maybe Rank -> ICCFNumeric x y Source #
Smart constructor.
mkICCFNumeric' :: Promotable promotable => Move x y -> promotable -> ICCFNumeric x y Source #
Smart constructor.