diff --git a/haskell/Puzzles/Day9.hs b/haskell/Puzzles/Day9.hs index 740cc15..a6b8aeb 100644 --- a/haskell/Puzzles/Day9.hs +++ b/haskell/Puzzles/Day9.hs @@ -13,7 +13,7 @@ puzzle = [ TL.show . maximum . fmap ((\(V2 x y) -> x * y) . (+ 1) . fmap abs . uncurry (-)) - . fromMaybe (error "empty input") + . fromMaybe (error "input too small") . nonEmpty . allUnorderedPairs False ]