removed unused code

This commit is contained in:
Misaka Mikoto 2020-12-02 14:17:36 +02:00
parent 5b353b68a8
commit 794e3eebdd
1 changed files with 0 additions and 6 deletions

View File

@ -1,11 +1,5 @@
import Data.Char
data Entry = MkEntry { min :: Integer
, max :: Integer
, chr :: Char
, pass :: String
}
count x = length . filter ((==) x)
main = readFile "2" >>= putStrLn . show . length . filter (parse 0 0) . lines
where valid min max chr pass = let x = count chr pass