]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Utils.hs
Added new actions to the Resource.
[Lucu.git] / Network / HTTP / Lucu / Utils.hs
index b22780b5f121aab681722b8ac17333f41ba3a66e..d92516ee15875a6791fc912b8d11ebe1eb765ffb 100644 (file)
@@ -12,11 +12,8 @@ module Network.HTTP.Lucu.Utils
     )
     where
 
-import Control.Monad.Trans
 import Data.Char
 import Data.List
-import Foreign
-import Foreign.C
 import Network.URI
 
 -- |> splitBy (== ':') "ab:c:def"
@@ -28,7 +25,7 @@ splitBy isSeparator src
       of (last , []      ) -> last  : []
          (first, sep:rest) -> first : splitBy isSeparator rest
 
--- |> joinWith ':' ["ab", "c", "def"]
+-- |> joinWith ":" ["ab", "c", "def"]
 --  > ==> "ab:c:def"
 joinWith :: [a] -> [[a]] -> [a]
 joinWith separator xs