Talk:Solve a Holy Knight's tour: Difference between revisions
Content added Content deleted
Line 17: | Line 17: | ||
import Data.Int (Int8) |
import Data.Int (Int8) |
||
type Cell = Int8 -- This can be |
type Cell = Int8 -- This can be Int if KnightBoard is mutable. |
||
type Position = (Int, Int) |
type Position = (Int, Int) |
||
type KnightBoard = Arr.UArray Position Cell |
type KnightBoard = Arr.UArray Position Cell |