diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-19 14:08:19 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-19 14:08:19 +0100 |
commit | f5a6c4974d561e05b2882d38b54b45188ee31185 (patch) | |
tree | 4be6d29872ef395c2bbbc1550021abb88eddf979 /src/Text/Hakyll/CompressCSS.hs | |
parent | e9dd4c75a21ee9bc8f42ea725d071974127a97d1 (diff) | |
download | hakyll-f5a6c4974d561e05b2882d38b54b45188ee31185.tar.gz |
Hakyll now passes HLint.
Diffstat (limited to 'src/Text/Hakyll/CompressCSS.hs')
-rw-r--r-- | src/Text/Hakyll/CompressCSS.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Hakyll/CompressCSS.hs b/src/Text/Hakyll/CompressCSS.hs index c6693b7..d575348 100644 --- a/src/Text/Hakyll/CompressCSS.hs +++ b/src/Text/Hakyll/CompressCSS.hs @@ -27,7 +27,7 @@ stripComments :: String -> String stripComments [] = [] stripComments str | isPrefixOf "/*" str = stripComments $ eatComments $ drop 2 str - | otherwise = (head str) : (stripComments $ tail str) + | otherwise = head str : stripComments (tail str) where eatComments str' | null str' = [] | isPrefixOf "*/" str' = drop 2 str' |