Fix all found hlint hints

This commit is contained in:
Alexander Kobjolke 2023-01-06 15:17:10 +01:00
parent c9b6ad7427
commit c70ce7c1d8
3 changed files with 45 additions and 53 deletions

View file

@ -1,4 +1,4 @@
module Annotator.Util where
anyp :: [a -> Bool] -> a -> Bool
anyp preds x = or (map ($ x) preds)
anyp preds x = any ($ x) preds