Fix issue when multiple constructors are defined on one line. Update aoc2024 tests to not use debugStr.

This commit is contained in:
2025-10-24 14:50:26 -07:00
parent 8aee58c23b
commit 551e31d589
10 changed files with 24 additions and 19 deletions

View File

@@ -94,7 +94,7 @@ run fn size time = do
| Right (_, cs) => putStrLn $ "extra: " ++ pack cs
let p1map = step EmptyMap points time
let p1 = minPath p1map size
debugLog $ length $ toList p1map
printLn $ length $ toList p1map
putStrLn $ "part1 " ++ show p1
let p2map = step2 EmptyMap points 0
let p2 = part2 p2map size