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