quoridor-hs-0.1.0.0: A Quoridor implementation in Haskell

Safe HaskellNone
LanguageHaskell2010

Quoridor.Cmdline.Parse

Synopsis

Documentation

parseTurn :: String -> Either String Turn Source

Given a string representing a turn, Parses it and returns the Turn

Note: This is not the same string as show turn, it is a more concise, for example: "m y x" to move to (y,x)