/usr/share/doc/libghc-debian-doc/html/Debian-Relation-Common.html is in libghc-debian-doc 3.89-1build1.
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.Relation.Common</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-Relation-Common.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Debian-Relation-Common.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.89: 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.Relation.Common</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">type</span> <a href="#t:Relations">Relations</a> = <a href="Debian-Relation-Common.html#t:AndRelation">AndRelation</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:AndRelation">AndRelation</a> = [<a href="Debian-Relation-Common.html#t:OrRelation">OrRelation</a>]</li><li class="src short"><span class="keyword">type</span> <a href="#t:OrRelation">OrRelation</a> = [<a href="Debian-Relation-Common.html#t:Relation">Relation</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:Relation">Relation</a> = <a href="#v:Rel">Rel</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a>)</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:SrcPkgName">SrcPkgName</a> = <a href="#v:SrcPkgName">SrcPkgName</a> {<ul class="subs"><li><a href="#v:unSrcPkgName">unSrcPkgName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:BinPkgName">BinPkgName</a> = <a href="#v:BinPkgName">BinPkgName</a> {<ul class="subs"><li><a href="#v:unBinPkgName">unBinPkgName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> a) => <a href="#t:PkgName">PkgName</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:pkgNameFromString">pkgNameFromString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> a</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:ParseRelations">ParseRelations</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:parseRelations">parseRelations</a> :: a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec-Error.html#t:ParseError">ParseError</a> <a href="Debian-Relation-Common.html#t:Relations">Relations</a></li></ul></li><li class="src short"><a href="#v:prettyRelations">prettyRelations</a> :: [[<a href="Debian-Relation-Common.html#t:Relation">Relation</a>]] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:prettyOrRelation">prettyOrRelation</a> :: [<a href="Debian-Relation-Common.html#t:Relation">Relation</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:prettyRelation">prettyRelation</a> :: <a href="Debian-Relation-Common.html#t:Relation">Relation</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:ArchitectureReq">ArchitectureReq</a><ul class="subs"><li>= <a href="#v:ArchOnly">ArchOnly</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.6.2/Data-Set.html#t:Set">Set</a> <a href="Debian-Arch.html#t:Arch">Arch</a>)</li><li>| <a href="#v:ArchExcept">ArchExcept</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.6.2/Data-Set.html#t:Set">Set</a> <a href="Debian-Arch.html#t:Arch">Arch</a>)</li></ul></li><li class="src short"><a href="#v:prettyArchitectureReq">prettyArchitectureReq</a> :: <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:VersionReq">VersionReq</a><ul class="subs"><li>= <a href="#v:SLT">SLT</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></li><li>| <a href="#v:LTE">LTE</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></li><li>| <a href="#v:EEQ">EEQ</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></li><li>| <a href="#v:GRE">GRE</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></li><li>| <a href="#v:SGR">SGR</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></li></ul></li><li class="src short"><a href="#v:prettyVersionReq">prettyVersionReq</a> :: <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:checkVersionReq">checkVersionReq</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Relations" class="def">Relations</a> = <a href="Debian-Relation-Common.html#t:AndRelation">AndRelation</a> <a href="src/Debian-Relation-Common.html#Relations" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:AndRelation" class="def">AndRelation</a> = [<a href="Debian-Relation-Common.html#t:OrRelation">OrRelation</a>] <a href="src/Debian-Relation-Common.html#AndRelation" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:OrRelation" class="def">OrRelation</a> = [<a href="Debian-Relation-Common.html#t:Relation">Relation</a>] <a href="src/Debian-Relation-Common.html#OrRelation" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Relation" class="def">Relation</a> <a href="src/Debian-Relation-Common.html#Relation" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Rel" class="def">Rel</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a>)</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Relation" class="caption collapser" onclick="toggleSection('i:Relation')">Instances</p><div id="section.i:Relation" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Relation-Common.html#t:Relation">Relation</a></span> <a href="src/Debian-Relation-Common.html#line-29" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Relation-Common.html#t:Relation">Relation</a></span> <a href="src/Debian-Relation-Common.html#line-60" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Debian-Relation-Common.html#t:Relation">Relation</a></span> <a href="src/Debian-Relation-Common.html#line-29" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Debian-Relation-Common.html#t:Relation">Relation</a></span> <a href="src/Debian-Relation-Common.html#line-29" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> <a href="Debian-Relation-Common.html#t:Relation">Relation</a>)</span> <a href="src/Debian-Relation-Common.html#line-125" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> <a href="Debian-Relation-Common.html#t:OrRelation">OrRelation</a>)</span> <a href="src/Debian-Relation-Common.html#line-122" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> <a href="Debian-Relation-Common.html#t:Relations">Relations</a>)</span> <a href="src/Debian-Relation-Common.html#line-119" class="link">Source</a></td><td class="doc"><p>Wrap <code><a href="Debian-Pretty.html#t:PP">PP</a></code> around type synonyms that might overlap with the
`Pretty [a]` instance.</p></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:SrcPkgName" class="def">SrcPkgName</a> <a href="src/Debian-Relation-Common.html#SrcPkgName" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SrcPkgName" class="def">SrcPkgName</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:unSrcPkgName" class="def">unSrcPkgName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/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:SrcPkgName" class="caption collapser" onclick="toggleSection('i:SrcPkgName')">Instances</p><div id="section.i:SrcPkgName" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-31" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-31" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-31" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-31" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-31" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Debian-Relation-Common.html#t:PkgName">PkgName</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-40" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a>)</span> <a href="src/Debian-Relation-Common.html#line-114" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:BinPkgName" class="def">BinPkgName</a> <a href="src/Debian-Relation-Common.html#BinPkgName" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:BinPkgName" class="def">BinPkgName</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:unBinPkgName" class="def">unBinPkgName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/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:BinPkgName" class="caption collapser" onclick="toggleSection('i:BinPkgName')">Instances</p><div id="section.i:BinPkgName" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-32" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-32" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-32" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-32" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-32" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Debian-Relation-Common.html#t:PkgName">PkgName</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-37" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a>)</span> <a href="src/Debian-Relation-Common.html#line-111" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> a) => <a name="t:PkgName" class="def">PkgName</a> a <span class="keyword">where</span> <a href="src/Debian-Relation-Common.html#PkgName" class="link">Source</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:pkgNameFromString" class="def">pkgNameFromString</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> a <a href="src/Debian-Relation-Common.html#pkgNameFromString" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:PkgName" class="caption collapser" onclick="toggleSection('i:PkgName')">Instances</p><div id="section.i:PkgName" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Debian-Relation-Common.html#t:PkgName">PkgName</a> <a href="Debian-Relation-Common.html#t:BinPkgName">BinPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-37" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Debian-Relation-Common.html#t:PkgName">PkgName</a> <a href="Debian-Relation-Common.html#t:SrcPkgName">SrcPkgName</a></span> <a href="src/Debian-Relation-Common.html#line-40" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:ParseRelations" class="def">ParseRelations</a> a <span class="keyword">where</span> <a href="src/Debian-Relation-Common.html#ParseRelations" class="link">Source</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:parseRelations" class="def">parseRelations</a> :: a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec-Error.html#t:ParseError">ParseError</a> <a href="Debian-Relation-Common.html#t:Relations">Relations</a> <a href="src/Debian-Relation-Common.html#parseRelations" class="link">Source</a></p><div class="doc"><p><code><a href="Debian-Relation-Common.html#v:parseRelations">parseRelations</a></code> parse a debian relation (i.e. the value of a
Depends field). Return a parsec error or a value of type
<code><a href="Debian-Relation-Common.html#t:Relations">Relations</a></code></p></div></div></div><div class="top"><p class="src"><a name="v:prettyRelations" class="def">prettyRelations</a> :: [[<a href="Debian-Relation-Common.html#t:Relation">Relation</a>]] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a> <a href="src/Debian-Relation-Common.html#prettyRelations" class="link">Source</a></p><div class="doc"><p>This needs to be indented for use in a control file: intercalate "n " . lines . show</p></div></div><div class="top"><p class="src"><a name="v:prettyOrRelation" class="def">prettyOrRelation</a> :: [<a href="Debian-Relation-Common.html#t:Relation">Relation</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a> <a href="src/Debian-Relation-Common.html#prettyOrRelation" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:prettyRelation" class="def">prettyRelation</a> :: <a href="Debian-Relation-Common.html#t:Relation">Relation</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a> <a href="src/Debian-Relation-Common.html#prettyRelation" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ArchitectureReq" class="def">ArchitectureReq</a> <a href="src/Debian-Relation-Common.html#ArchitectureReq" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ArchOnly" class="def">ArchOnly</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.6.2/Data-Set.html#t:Set">Set</a> <a href="Debian-Arch.html#t:Arch">Arch</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:ArchExcept" class="def">ArchExcept</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.6.2/Data-Set.html#t:Set">Set</a> <a href="Debian-Arch.html#t:Arch">Arch</a>)</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:ArchitectureReq" class="caption collapser" onclick="toggleSection('i:ArchitectureReq')">Instances</p><div id="section.i:ArchitectureReq" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a></span> <a href="src/Debian-Relation-Common.html#line-70" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a></span> <a href="src/Debian-Relation-Common.html#line-70" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a></span> <a href="src/Debian-Relation-Common.html#line-70" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a></span> <a href="src/Debian-Relation-Common.html#line-70" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a>)</span> <a href="src/Debian-Relation-Common.html#line-131" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:prettyArchitectureReq" class="def">prettyArchitectureReq</a> :: <a href="Debian-Relation-Common.html#t:ArchitectureReq">ArchitectureReq</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a> <a href="src/Debian-Relation-Common.html#prettyArchitectureReq" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:VersionReq" class="def">VersionReq</a> <a href="src/Debian-Relation-Common.html#VersionReq" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SLT" class="def">SLT</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:LTE" class="def">LTE</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:EEQ" class="def">EEQ</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:GRE" class="def">GRE</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:SGR" class="def">SGR</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:VersionReq" class="caption collapser" onclick="toggleSection('i:VersionReq')">Instances</p><div id="section.i:VersionReq" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a></span> <a href="src/Debian-Relation-Common.html#line-82" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a></span> <a href="src/Debian-Relation-Common.html#line-93" class="link">Source</a></td><td class="doc"><p>The sort order is based on version number first, then on the kind of
relation, sorting in the order <img src="," title="<= , ==, >= ," /></p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a></span> <a href="src/Debian-Relation-Common.html#line-82" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a></span> <a href="src/Debian-Relation-Common.html#line-82" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint-HughesPJClass.html#t:Pretty">Pretty</a> (<a href="Debian-Pretty.html#t:PP">PP</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a>)</span> <a href="src/Debian-Relation-Common.html#line-128" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:prettyVersionReq" class="def">prettyVersionReq</a> :: <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/pretty-1.1.2.0/Text-PrettyPrint.html#t:Doc">Doc</a> <a href="src/Debian-Relation-Common.html#prettyVersionReq" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:checkVersionReq" class="def">checkVersionReq</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Relation-Common.html#t:VersionReq">VersionReq</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Debian-Version-Common.html#t:DebianVersion">DebianVersion</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Debian-Relation-Common.html#checkVersionReq" class="link">Source</a></p><div class="doc"><p>Check if a version number satisfies a version requirement.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|