Files
advent-of-code-2023/day13/Part1.hs
2023-12-13 14:29:31 +01:00

8 lines
162 B
Haskell

module Part1 where
import Commons
getSummary :: [Pattern] -> [Int]
getSummary = map (\ p -> getVerticalReflection 1 0 p + 100 * getHorizontalReflection 1 0 p)