/usr/share/doc/libghc-debian-doc/html/Debian-Sources.html is in libghc-debian-doc 3.79.2-1build5.
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 9 10 11 12 13 14 15 16 17 18 | <!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.Sources</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Debian-Sources.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Debian-Sources.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.79.2: 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></table><p class="caption">Debian.Sources</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"><span class="keyword">data</span> <a href="#t:SourceType">SourceType</a> <ul class="subs"><li>= <a href="#v:Deb">Deb</a> </li><li>| <a href="#v:DebSrc">DebSrc</a> </li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:DebSource">DebSource</a> = <a href="#v:DebSource">DebSource</a> {<ul class="subs"><li><a href="#v:sourceType">sourceType</a> :: <a href="Debian-Sources.html#t:SourceType">SourceType</a></li><li><a href="#v:sourceUri">sourceUri</a> :: <a href="/usr/share/doc/libghc-network-doc/html/Network-URI.html#t:URI">URI</a></li><li><a href="#v:sourceDist">sourceDist</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> (<a href="Debian-Release.html#t:ReleaseName">ReleaseName</a>, [<a href="Debian-Release.html#t:Section">Section</a>])</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:SliceName">SliceName</a> = <a href="#v:SliceName">SliceName</a> {<ul class="subs"><li><a href="#v:sliceName">sliceName</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><a href="#v:quoteWords">quoteWords</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:stripLine">stripLine</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:sourceLines">sourceLines</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:parseSourceLine">parseSourceLine</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Debian-Sources.html#t:DebSource">DebSource</a></li><li class="src short"><a href="#v:parseSourceLine-39-">parseSourceLine'</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Sources.html#t:DebSource">DebSource</a></li><li class="src short"><a href="#v:parseSourcesList">parseSourcesList</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="Debian-Sources.html#t:DebSource">DebSource</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:SourceType" class="def">SourceType</a> <a href="src/Debian-Sources.html#SourceType" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Deb" class="def">Deb</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebSrc" class="def">DebSrc</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SourceType" class="caption collapser" onclick="toggleSection('i:SourceType')">Instances</p><div id="section.i:SourceType" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Sources.html#t:SourceType">SourceType</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Sources.html#t:SourceType">SourceType</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Pretty">Pretty</a> <a href="Debian-Sources.html#t:SourceType">SourceType</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebSource" class="def">DebSource</a> <a href="src/Debian-Sources.html#DebSource" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebSource" class="def">DebSource</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:sourceType" class="def">sourceType</a> :: <a href="Debian-Sources.html#t:SourceType">SourceType</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:sourceUri" class="def">sourceUri</a> :: <a href="/usr/share/doc/libghc-network-doc/html/Network-URI.html#t:URI">URI</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:sourceDist" class="def">sourceDist</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> (<a href="Debian-Release.html#t:ReleaseName">ReleaseName</a>, [<a href="Debian-Release.html#t:Section">Section</a>])</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:DebSource" class="caption collapser" onclick="toggleSection('i:DebSource')">Instances</p><div id="section.i:DebSource" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Sources.html#t:DebSource">DebSource</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Sources.html#t:DebSource">DebSource</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-ansi-wl-pprint-doc/html/Text-PrettyPrint-ANSI-Leijen.html#t:Pretty">Pretty</a> <a href="Debian-Sources.html#t:DebSource">DebSource</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:SliceName" class="def">SliceName</a> <a href="src/Debian-Sources.html#SliceName" class="link">Source</a></p><div class="doc"><p>This is a name given to a combination of parts of one or more
releases that can be specified by a sources.list file.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SliceName" class="def">SliceName</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:sliceName" class="def">sliceName</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:SliceName" class="caption collapser" onclick="toggleSection('i:SliceName')">Instances</p><div id="section.i:SliceName" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Sources.html#t:SliceName">SliceName</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Sources.html#t:SliceName">SliceName</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Debian-Sources.html#t:SliceName">SliceName</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:quoteWords" class="def">quoteWords</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]<a href="src/Debian-Sources.html#quoteWords" class="link">Source</a></p><div class="doc"><p>quoteWords - similar to words, but with special handling of
double-quotes and brackets.
</p><p>The handling double quotes and [] is supposed to match:
apt-0.6.44.2/apt-pkg/contrib/strutl.cc:ParseQuoteWord()
</p><p>The behaviour can be defined as:
</p><p>Break the string into space seperated words ignoring spaces that
appear between "" or []. Strip trailing and leading white space
around words. Strip out double quotes, but leave the square
brackets intact.
</p></div></div><div class="top"><p class="src"><a name="v:stripLine" class="def">stripLine</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Debian-Sources.html#stripLine" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sourceLines" class="def">sourceLines</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>]<a href="src/Debian-Sources.html#sourceLines" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parseSourceLine" class="def">parseSourceLine</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Debian-Sources.html#t:DebSource">DebSource</a><a href="src/Debian-Sources.html#parseSourceLine" class="link">Source</a></p><div class="doc"><p>parseSourceLine -- parses a source line
the argument must be a non-empty, valid source line with comments stripped
see: <code><a href="Debian-Sources.html#v:sourceLines">sourceLines</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:parseSourceLine-39-" class="def">parseSourceLine'</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Sources.html#t:DebSource">DebSource</a><a href="src/Debian-Sources.html#parseSourceLine%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parseSourcesList" class="def">parseSourcesList</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> [<a href="Debian-Sources.html#t:DebSource">DebSource</a>]<a href="src/Debian-Sources.html#parseSourcesList" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|