/usr/share/doc/libghc-debian-doc/html/Debian-Version.html is in libghc-debian-doc 3.83.3.1-1.
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 | <!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.Version</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-Version.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Debian-Version.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.83.3.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></table><p class="caption">Debian.Version</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A module for parsing, comparing, and (eventually) modifying debian version
numbers. <a href="http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version">http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version</a>
</p></div></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:DebianVersion">DebianVersion</a> </li><li class="src short"><a href="#v:prettyDebianVersion">prettyDebianVersion</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> <a href="Debian-Pretty.html#t:Doc">Doc</a></li><li class="src short"><a href="#v:parseDebianVersion">parseDebianVersion</a> :: <a href="Debian-Version-Common.html#t:ParseDebianVersion">ParseDebianVersion</a> a => a -> <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a></li><li class="src short"><a href="#v:epoch">epoch</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</a></li><li class="src short"><a href="#v:version">version</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</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:revision">revision</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</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:buildDebianVersion">buildDebianVersion</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a></li><li class="src short"><a href="#v:evr">evr</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebianVersion" class="def">DebianVersion</a> <a href="src/Debian-Version-Internal.html#DebianVersion" class="link">Source</a></p><div class="subs instances"><p id="control.i:DebianVersion" class="caption collapser" onclick="toggleSection('i:DebianVersion')">Instances</p><div id="section.i:DebianVersion" 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-Version.html#t:DebianVersion">DebianVersion</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-Data.html#t:Data">Data</a> <a href="Debian-Version.html#t:DebianVersion">DebianVersion</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-Version.html#t:DebianVersion">DebianVersion</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-Read.html#t:Read">Read</a> <a href="Debian-Version.html#t:DebianVersion">DebianVersion</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-Version.html#t:DebianVersion">DebianVersion</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-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="doc"><p>Exported abstract because the internal representation is likely to change
</p></div><div class="top"><p class="src"><a name="v:prettyDebianVersion" class="def">prettyDebianVersion</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> <a href="Debian-Pretty.html#t:Doc">Doc</a><a href="src/Debian-Version-Common.html#prettyDebianVersion" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parseDebianVersion" class="def">parseDebianVersion</a> :: <a href="Debian-Version-Common.html#t:ParseDebianVersion">ParseDebianVersion</a> a => a -> <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a><a href="src/Debian-Version-Common.html#parseDebianVersion" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:epoch" class="def">epoch</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</a><a href="src/Debian-Version-Common.html#epoch" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:version" class="def">version</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</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-Version-Common.html#version" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:revision" class="def">revision</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</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-Version-Common.html#revision" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:buildDebianVersion" class="def">buildDebianVersion</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a><a href="src/Debian-Version-Common.html#buildDebianVersion" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:evr" class="def">evr</a> :: <a href="Debian-Version.html#t:DebianVersion">DebianVersion</a> -> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Schema-PrimitiveTypes.html#t:Int">Int</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="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)<a href="src/Debian-Version-Common.html#evr" class="link">Source</a></p><div class="doc"><p>Split a DebianVersion into its three components: epoch, version,
revision. It is not safe to use the parsed version number for
this because you will lose information, such as leading zeros.
</p></div></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>
|