aboutsummaryrefslogtreecommitdiff
path: root/execs/Day05.hs
diff options
context:
space:
mode:
Diffstat (limited to 'execs/Day05.hs')
-rw-r--r--execs/Day05.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/execs/Day05.hs b/execs/Day05.hs
index a47c024..40965ec 100644
--- a/execs/Day05.hs
+++ b/execs/Day05.hs
@@ -1,8 +1,8 @@
1module Main where 1module Main where
2 2
3import Data.Char (digitToInt) 3import Data.Char (digitToInt)
4import Data.List (sort) 4import Data.List (sort)
5import Utils (binaryToInt) 5import Utils (binaryToInt)
6 6
7doValidate = binaryToInt . map readBin 7doValidate = binaryToInt . map readBin
8readBin s | s `elem` "FL" = '0' 8readBin s | s `elem` "FL" = '0'