changeset 50 | 9891c9fac37e |
parent 45 | 8399976b77fe |
child 64 | d6f97b562424 |
--- a/progs/knight2_sol.scala Tue Nov 15 23:08:09 2016 +0000 +++ b/progs/knight2_sol.scala Wed Nov 16 14:37:18 2016 +0000 @@ -1,9 +1,8 @@ // Part 2 about finding a single tour for a board //================================================ - -type Pos = (Int, Int) -type Path = List[Pos] +type Pos = (Int, Int) // a position on a chessboard +type Path = List[Pos] // a path...a list of positions def print_board(dim: Int, path: Path): Unit = { println