Skip to content

Commit 8960156

Browse files
committed
remove unneeded code
1 parent 861b8ff commit 8960156

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/2023/puzzles/day19.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ Using these helpers, we can implement the abstract evaluator as follows:
196196
```scala
197197
def part2(input: String): Long = combinations(input, 4001)
198198

199-
extension [T](part: (T, T)) private inline def swap: (T, T) = (part._2, part._1)
200-
201199
def combinations(input: String, until: Long): Long =
202200
val Array(workflowLines, _) = input.split("\n\n")
203201
val workflow = Workflow.parse(workflowLines.trim())

0 commit comments

Comments
 (0)