Skip to content

Commit

Permalink
remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Jan 2, 2025
1 parent 861b8ff commit 8960156
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/2023/puzzles/day19.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ Using these helpers, we can implement the abstract evaluator as follows:
```scala
def part2(input: String): Long = combinations(input, 4001)

extension [T](part: (T, T)) private inline def swap: (T, T) = (part._2, part._1)

def combinations(input: String, until: Long): Long =
val Array(workflowLines, _) = input.split("\n\n")
val workflow = Workflow.parse(workflowLines.trim())
Expand Down

0 comments on commit 8960156

Please sign in to comment.