]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Authorization.hs
Cosmetic changes suggested by hlint.
[Lucu.git] / Network / HTTP / Lucu / Authorization.hs
index 11de19962d75b6c78817ab3df33207dcb126bc5d..789b5d1c971dfba93f0612e46d1fe79b86fdc9ad 100644 (file)
@@ -2,7 +2,6 @@
     OverloadedStrings
   , UnicodeSyntax
   #-}
-{-# OPTIONS_HADDOCK prune #-}
 
 -- |Manipulation of WWW authorization.
 module Network.HTTP.Lucu.Authorization
@@ -13,7 +12,7 @@ module Network.HTTP.Lucu.Authorization
     , Password
 
     , printAuthChallenge
-    , authCredentialP -- private
+    , authCredentialP
     )
     where
 import Data.Ascii (Ascii)
@@ -30,7 +29,7 @@ import Prelude.Unicode
 -- \"WWW-Authenticate\" header. See
 -- 'Network.HTTP.Lucu.Resource.setWWWAuthenticate'.
 data AuthChallenge
-    = BasicAuthChallenge Realm
+    = BasicAuthChallenge !Realm
       deriving (Eq)
 
 -- |'Realm' is just a string which must not contain any non-ASCII letters.
@@ -40,7 +39,7 @@ type Realm = Ascii
 -- \"Authorization\" header. See
 -- 'Network.HTTP.Lucu.Resource.getAuthorization'.
 data AuthCredential
-    = BasicAuthCredential UserID Password
+    = BasicAuthCredential !UserID !Password
       deriving (Show, Eq)
 
 -- |'UserID' is just a string which must not contain colon and any