error handling

This commit is contained in:
2026-03-16 10:59:55 +01:00
parent 964bbe4ec0
commit 720218cf31
16 changed files with 138 additions and 58 deletions

View File

@@ -15,7 +15,7 @@ func part2[l1: Array, l2: Array] : void
io.println_i64(out)
func main[] : i64
let lines: Array = io.read_file("input.txt") |> str.split("\n")
let lines: Array = must(io.read_file?("input.txt")) |> str.split("\n")
let l1: Array = []
let l2: Array = []