]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Authorization.hs
Cosmetic changes suggested by hlint.
[Lucu.git] / Network / HTTP / Lucu / Authorization.hs
index d91fe29024dc3a8ac6e27bb1e989ffa287044b9b..789b5d1c971dfba93f0612e46d1fe79b86fdc9ad 100644 (file)
@@ -29,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.
@@ -39,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