Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- https://en.wikipedia.org/wiki/ICCF_numeric_notation.
Synopsis
- data ICCFNumeric
- notation :: Notation
- regexSyntax :: String
- toRank :: [(Int, Rank)]
- mkICCFNumeric :: Move -> Maybe Rank -> ICCFNumeric
- mkICCFNumeric' :: Promotable promotable => Move -> promotable -> ICCFNumeric
Types
Data-types
data ICCFNumeric Source #
Defines a move, to enable io in ICCF Numeric/-notation.
Instances
Eq ICCFNumeric Source # | |
Defined in BishBosh.Notation.ICCFNumeric (==) :: ICCFNumeric -> ICCFNumeric -> Bool # (/=) :: ICCFNumeric -> ICCFNumeric -> Bool # | |
Read ICCFNumeric Source # | |
Defined in BishBosh.Notation.ICCFNumeric readsPrec :: Int -> ReadS ICCFNumeric # readList :: ReadS [ICCFNumeric] # readPrec :: ReadPrec ICCFNumeric # readListPrec :: ReadPrec [ICCFNumeric] # | |
Show ICCFNumeric Source # | |
Defined in BishBosh.Notation.ICCFNumeric showsPrec :: Int -> ICCFNumeric -> ShowS # show :: ICCFNumeric -> String # showList :: [ICCFNumeric] -> ShowS # | |
Promotable ICCFNumeric Source # | |
Defined in BishBosh.Notation.ICCFNumeric |
Constants
Define the parameters of the notation, using the minimum permissible values for x & y coordinates.
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
Constructors
:: Move | |
-> Maybe Rank | The optional promotion-rank. |
-> ICCFNumeric |
Smart constructor.
:: Promotable promotable | |
=> Move | |
-> promotable | The datum from which to extract the optional promotion-rank. |
-> ICCFNumeric |
Smart constructor.