]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/MIMEType.hs
More documentation
[Lucu.git] / Network / HTTP / Lucu / MIMEType.hs
index 93b8f1ff38d7aeed4f388432ee5cc8463bb68166..b41bbcd50f07b9857625e08ac7dda9107faef95a 100644 (file)
@@ -49,17 +49,19 @@ infixl 8 <:>
 maj </> min
     = MIMEType maj min []
 
--- |\<\:\> appends a @(name, value)@ pair to a MIME Type.
+-- |This operator appends a @(name, value)@ pair to a MIME Type.
 (<:>) :: MIMEType -> (String, String) -> MIMEType
 mt@(MIMEType _ _ params) <:> pair
     = mt {
         mtParams = mtParams mt ++ [pair]
       }
 
--- |\<\=\> takes two strings and makes a tuple of them. So you can say
--- @\"text\" \<\/\> \"xml\" \<\:\> \"charset\" \<\=\> \"UTF-8\" \<\:\>
--- \"q\" \<\=\> \"0.9\"@ to represent \"text\/xml; charset=UTF-8;
--- q=0.9\".
+-- |This operator takes two strings and makes a tuple of them. So you
+-- can say
+--
+-- > "text" </> "xml" <:> "charset" <=> "UTF-8" <:> "q" <=> "0.9"
+--
+-- to represent \"text\/xml; charset=UTF-8; q=0.9\".
 (<=>) :: String -> String -> (String, String)
 name <=> value = (name, value)