Correct error message
This commit is contained in:
parent
3744f41b5f
commit
0e2a3c81ac
@ -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
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user