Skip to content

Commit

Permalink
Day 10: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
horothesun committed Jun 10, 2024
1 parent 382294d commit 9456500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/Day10.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ object Day10:
enum TileType:
case InsideLoop, OutsideLoop, OnLoop

enum InversionToEast:
enum Inversion:
case Straight, NorthToSouth, SouthToNorth

case class Field(rows: Vector[Vector[Tile]]):
Expand Down Expand Up @@ -168,7 +168,7 @@ object Day10:
val isEven: Int => Boolean = _ % 2 == 0
if (isEven(inversionsCount)) OutsideLoop else InsideLoop

def inversionsToEast(loopCols: Set[Int], pos: Pos, row: Vector[Tile]): List[InversionToEast] = ???
def inversionsToEast(loopCols: Set[Int], pos: Pos, row: Vector[Tile]): List[Inversion] = ???

object Field:
def parse(input: List[String]): Option[Field] =
Expand Down

0 comments on commit 9456500

Please sign in to comment.