]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Utils.hs
Cosmetic changes suggested by hlint
[Lucu.git] / Network / HTTP / Lucu / Utils.hs
index 6b749a80c8aefb448be43b06908961713ba428c1..9212747d9cf4ea782491240f1c8e201c29715dc4 100644 (file)
@@ -19,7 +19,7 @@ import Prelude hiding (last)
 splitBy :: (a -> Bool) -> [a] -> [[a]]
 splitBy isSep src
     = case break isSep src
-      of (last , []       ) -> last  : []
+      of (last , []       ) -> [last]
          (first, _sep:rest) -> first : splitBy isSep rest
 
 -- |> joinWith ":" ["ab", "c", "def"]