Tidying more
authorNeil Smith <neil.git@njae.me.uk>
Wed, 14 Dec 2016 19:48:51 +0000 (19:48 +0000)
committerNeil Smith <neil.git@njae.me.uk>
Wed, 14 Dec 2016 19:48:51 +0000 (19:48 +0000)
advent14c.hs

index a43e37fe4233d0a13ae4c9446fcc0cdaf966ed27..af8a4afefe69ebbe5b9978e75c974127cc0d97ed 100644 (file)
@@ -43,4 +43,3 @@ repeats n = filter (null . tail) . map (nub) . substrings n
 
 substrings :: Int -> [a] -> [[a]]
 substrings l = filter (\s -> (length s) == l) . map (take l) . tails
-