diff options
author | Akshay <[email protected]> | 2020-12-16 07:27:38 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2020-12-16 07:27:38 +0000 |
commit | 8c1193fece01bb80e86d8cc36efcf8820a6ccb46 (patch) | |
tree | f13ed4cdb33e748f596db9b7e7a2b08d8b3ba0ef /execs/Day05.hs | |
parent | 38f3a717b0f8095fb05b9be0bebd158474eb7618 (diff) |
format *
Diffstat (limited to 'execs/Day05.hs')
-rw-r--r-- | execs/Day05.hs | 6 |
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 @@ | |||
1 | module Main where | 1 | module Main where |
2 | 2 | ||
3 | import Data.Char (digitToInt) | 3 | import Data.Char (digitToInt) |
4 | import Data.List (sort) | 4 | import Data.List (sort) |
5 | import Utils (binaryToInt) | 5 | import Utils (binaryToInt) |
6 | 6 | ||
7 | doValidate = binaryToInt . map readBin | 7 | doValidate = binaryToInt . map readBin |
8 | readBin s | s `elem` "FL" = '0' | 8 | readBin s | s `elem` "FL" = '0' |