]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/DefaultPage.hs
hlint
[Lucu.git] / Network / HTTP / Lucu / DefaultPage.hs
index 076ad1059e029b85bab761e9ada6537a2a94061a..0fefa7f38ca6c0a88d151ccc9601bb1a93573ba7 100644 (file)
@@ -54,10 +54,10 @@ mkDefaultPage ∷ (ArrowXml (⇝), StatusCode sc)
               → b ⇝ XmlTree
 {-# INLINEABLE mkDefaultPage #-}
 mkDefaultPage conf status msgA
-    = let sStr = A.toString $ A.fromAsciiBuilder $ printStatusCode status
+    = let sStr = A.toString  A.fromAsciiBuilder $ printStatusCode status
           sig  = concat [ A.toString (cnfServerSoftware conf)
                         , " at "
-                        , T.unpack $ CI.original $ cnfServerHost conf
+                        , T.unpack  CI.original $ cnfServerHost conf
                         ]
       in ( eelem "/"
            += ( eelem "html"
@@ -138,7 +138,7 @@ getMsg req res@(Response {..})
         = none
     where
       path ∷ String
-      path = uriPath $ reqURI $ fromJust req
+      path = uriPath  reqURI $ fromJust req
 
       loc ∷ String
-      loc = A.toString $ fromJust $ getHeader "Location" res
+      loc = A.toString  fromJust $ getHeader "Location" res