Skip to content

Commit

Permalink
not used
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr committed Dec 4, 2024
1 parent 6da8b3a commit f688186
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Aoc2024/Day04/Solve.lean
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ private def countXmasOccurrencesInRow : List Char -> Int

private def countXmasOccurrencesInRows (grid : Grid): Int := grid.sumBy countXmasOccurrencesInRow

private def gridToString (g : Grid) : String := g.map List.asString |> String.intercalate "\n"

#guard gridToString [['A', 'B', 'C'], ['D', 'E', 'F']] = "ABC\nDEF"

private def flipHorizontal (grid : Grid) : Grid := grid.map (·.reverse)

private def allGridTransformations : List (Grid -> Grid) := [
Expand Down

0 comments on commit f688186

Please sign in to comment.