From: Neil Smith Date: Wed, 14 Dec 2016 19:48:51 +0000 (+0000) Subject: Tidying more X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-16.git;a=commitdiff_plain;h=2473ce948fb386965169679d4545f2649b8bf960 Tidying more --- diff --git a/advent14c.hs b/advent14c.hs index a43e37f..af8a4af 100644 --- a/advent14c.hs +++ b/advent14c.hs @@ -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 -