summaryrefslogtreecommitdiff
path: root/src/Criteria.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Criteria.hs')
-rw-r--r--src/Criteria.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Criteria.hs b/src/Criteria.hs
index 5df9cf1..7f46970 100644
--- a/src/Criteria.hs
+++ b/src/Criteria.hs
@@ -42,7 +42,8 @@ evaluate ballot preferences criteria =
isValidInput :: Typ.BelowLineBallot -> [Pref.Preference] -> Bool
isValidInput ballot preferences =
- all (\(x,y) -> x > 0 && x <= length ballot && y > 0 && y <= length ballot) preferences
+ all (\(x,y) -> x > 0 && x <= length ballot
+ && y > 0 && y <= length ballot) preferences