more error handling

This commit is contained in:
2026-03-16 12:26:58 +01:00
parent 720218cf31
commit fee5dc3099
12 changed files with 98 additions and 49 deletions

View File

@@ -61,7 +61,7 @@ func part2[equations: Array] : void
io.println_i64(out)
func main[] : i64
let lines: Array = must(io.read_file?("input.txt")) |> str.split("\n")
let lines: Array = must(io.read_text_file?("input.txt")) |> str.split("\n")
let equations: Array = []
for i in 0..lines->size