Skip to content

Commit

Permalink
tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr committed Dec 4, 2024
1 parent 4d9df68 commit 6da8b3a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Aoc2024/Utils.lean
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,19 @@ namespace List
["K", "H"],
["L"],
]
#guard ([] : List (List Nat)).diagonals = []
#guard ([["A"]]).diagonals = [["A"]]
#guard ([["A", "B"]]).diagonals = [["A"], ["B"]]
#guard [
["A", "B", "C"],
["D"],
["E", "F"],
].diagonals = [
["A"],
["D", "B"],
["E", "C"],
["F"],
]
end List

namespace Std.HashSet
Expand Down

0 comments on commit 6da8b3a

Please sign in to comment.