Correct error message

This commit is contained in:
George Thomas 2025-12-09 13:34:48 +00:00
parent 3744f41b5f
commit 0e2a3c81ac

View File

@ -13,7 +13,7 @@ puzzle =
[ TL.show [ TL.show
. maximum . maximum
. fmap ((\(V2 x y) -> x * y) . (+ 1) . fmap abs . uncurry (-)) . fmap ((\(V2 x y) -> x * y) . (+ 1) . fmap abs . uncurry (-))
. fromMaybe (error "empty input") . fromMaybe (error "input too small")
. nonEmpty . nonEmpty
. allUnorderedPairs False . allUnorderedPairs False
] ]