Functions for converting moves and variations to and from textual representations.
fromSan : String -> Position -> Maybe Move
Tries to convert a move string in short algebraic notation to a move.
Returns Nothing
on failure.
toSan : Move -> Position -> String
Converts a move to a string in short algebraic notation .
variationToSan : Move.Variation -> Position -> String
Exports a variation to a string with move numbers and moves in short algebraic notation.
fromUci : String -> Position -> Maybe Move
Tries to convert a move string in Universal Chess Interface notation to a move. Returns Nothing on failure.
toUci : Move -> String
Convert a move to a string in Universal Chess Interface notation.