diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-12-15 19:41:19 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-12-15 19:41:19 +0100 |
commit | 8279401e0b85ae707542ad5f919ecacb43b5f914 (patch) | |
tree | bf38af498f73e9de0290152b19a6740c6b80765c /2021/12.hs | |
parent | 026fbe8686417faa3e13e01dfd738631813d6ecb (diff) |
uniq in Util
Diffstat (limited to '2021/12.hs')
-rw-r--r-- | 2021/12.hs | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -12,11 +12,6 @@ import Input import Util -uniq :: Eq a => [a] -> [a] -uniq (x : y : xs) | x == y = uniq (y : xs) - | otherwise = x : uniq (y : xs) -uniq l = l - main :: IO () main = do inp <- getInput 12 |