fix another aoc zip type error

This commit is contained in:
2022-05-09 15:50:25 -04:00
parent a825b7b499
commit 063cacb26c

View File

@@ -28,9 +28,9 @@
(function :Bool boardWon [:Board board] (function :Bool boardWon [:Board board]
(let [:Array<Array<Option<Int>>> linesOfFive (let [:Array<Array<Option<Int>>> linesOfFive
(concat (cast (concat
board.called board.called
(for x (range 5) (for row board.called (nth row x))))] (for x (range 5) (for row board.called (nth row x)))))]
(doFor line linesOfFive (doFor line linesOfFive
(let [&mut won true] (let [&mut won true]
(doFor square line (doFor square line