From d7cb8866f38c284c91dec4362d2db97a0e268c02 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Fri, 13 Dec 2024 12:01:08 +0000 Subject: [PATCH] Tidying --- advent13/Main.hs | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.34.1