From: Neil Smith Date: Fri, 13 Dec 2024 12:01:08 +0000 (+0000) Subject: Tidying X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=d7cb8866f38c284c91dec4362d2db97a0e268c02;p=advent-of-code-24.git Tidying --- diff --git a/advent13/Main.hs b/advent13/Main.hs index 53b6f1c..420c0a4 100644 --- a/advent13/Main.hs +++ b/advent13/Main.hs @@ -76,8 +76,6 @@ findABPresses m@(Machine {..}) -- treating L1 being defined by origin and buttonA, L2 by buttonB and prize intersection :: Machine -> V2 Rational intersection (Machine {..}) = V2 px py - -- | denom == 0 = Nothing - -- | otherwise = Just (V2 px py) where V2 x2 y2 = buttonA V2 x4 y4 = prize V2 x3 y3 = prize ^-^ buttonB