/usr/share/doc/libghc-debian-doc/html/Debian-URI.html is in libghc-debian-doc 3.91.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Debian.URI</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Debian-URI.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Debian-URI.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">debian-3.91.1: Modules for working with the Debian package system</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Debian.URI</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short">module <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html">Network.URI</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:URI-39-">URI'</a></li><li class="src short"><a href="#v:toURI-39-">toURI'</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a></li><li class="src short"><a href="#v:fromURI-39-">fromURI'</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a></li><li class="src short"><a href="#v:readURI-39-">readURI'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-URI.html#t:URI-39-">URI'</a></li><li class="src short"><a href="#v:uriToString-39-">uriToString'</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:fileFromURI">fileFromURI</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Exception-Base.html#t:SomeException">SomeException</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)</li><li class="src short"><a href="#v:fileFromURIStrict">fileFromURIStrict</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Exception-Base.html#t:SomeException">SomeException</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)</li><li class="src short"><a href="#v:dirFromURI">dirFromURI</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Exception-Base.html#t:SomeException">SomeException</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>])</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html">Network.URI</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:URI-39-" class="def">URI'</a> <a href="src/Debian-URI.html#URI%27" class="link">Source</a> <a href="#t:URI-39-" class="selflink">#</a></p><div class="doc"><p>A wrapper around a String containing a known parsable URI. Not
absolutely safe, because you could say read "URI' "bogus string""
:: URI'. But enough to save me from myself.</p></div><div class="subs instances"><p id="control.i:URI-39-" class="caption collapser" onclick="toggleSection('i:URI-39-')">Instances</p><div id="section.i:URI-39-" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:URI-39-:Eq:1" class="instance expander" onclick="toggleSection('i:id:URI-39-:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-URI.html#t:URI-39-">URI'</a></span> <a href="src/Debian-URI.html#line-28" class="link">Source</a> <a href="#t:URI-39-" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:URI-39-:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:URI-39-:Ord:2" class="instance expander" onclick="toggleSection('i:id:URI-39-:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-URI.html#t:URI-39-">URI'</a></span> <a href="src/Debian-URI.html#line-28" class="link">Source</a> <a href="#t:URI-39-" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:URI-39-:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:URI-39-:Read:3" class="instance expander" onclick="toggleSection('i:id:URI-39-:Read:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Read.html#t:Read">Read</a> <a href="Debian-URI.html#t:URI-39-">URI'</a></span> <a href="src/Debian-URI.html#line-28" class="link">Source</a> <a href="#t:URI-39-" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:URI-39-:Read:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="file:///usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> <a href="Debian-URI.html#t:URI-39-">URI'</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Debian-URI.html#t:URI-39-">URI'</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> <a href="Debian-URI.html#t:URI-39-">URI'</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Debian-URI.html#t:URI-39-">URI'</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:URI-39-:Show:4" class="instance expander" onclick="toggleSection('i:id:URI-39-:Show:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Debian-URI.html#t:URI-39-">URI'</a></span> <a href="src/Debian-URI.html#line-28" class="link">Source</a> <a href="#t:URI-39-" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:URI-39-:Show:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Debian-URI.html#t:URI-39-">URI'</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:toURI-39-" class="def">toURI'</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="Debian-URI.html#t:URI-39-">URI'</a> <a href="src/Debian-URI.html#toURI%27" class="link">Source</a> <a href="#v:toURI-39-" class="selflink">#</a></p><div class="doc"><p>Using the bogus Show instance of URI here. If it ever gets fixed
this will stop working. Worth noting that show will obscure any
password info embedded in the URI, so that's nice.</p></div></div><div class="top"><p class="src"><a id="v:fromURI-39-" class="def">fromURI'</a> :: <a href="Debian-URI.html#t:URI-39-">URI'</a> -> <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> <a href="src/Debian-URI.html#fromURI%27" class="link">Source</a> <a href="#v:fromURI-39-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:readURI-39-" class="def">readURI'</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-URI.html#t:URI-39-">URI'</a> <a href="src/Debian-URI.html#readURI%27" class="link">Source</a> <a href="#v:readURI-39-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:uriToString-39-" class="def">uriToString'</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Debian-URI.html#uriToString%27" class="link">Source</a> <a href="#v:uriToString-39-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:fileFromURI" class="def">fileFromURI</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Exception-Base.html#t:SomeException">SomeException</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Debian-URI.html#fileFromURI" class="link">Source</a> <a href="#v:fileFromURI" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:fileFromURIStrict" class="def">fileFromURIStrict</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Exception-Base.html#t:SomeException">SomeException</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>) <a href="src/Debian-URI.html#fileFromURIStrict" class="link">Source</a> <a href="#v:fileFromURIStrict" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:dirFromURI" class="def">dirFromURI</a> :: <a href="file:///usr/share/doc/libghc-network-uri-doc/html/Network-URI.html#t:URI">URI</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Exception-Base.html#t:SomeException">SomeException</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>]) <a href="src/Debian-URI.html#dirFromURI" class="link">Source</a> <a href="#v:dirFromURI" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|