Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 1f2b142b9d2ef4849a6f5316fa1c5b12 > files > 1203

ghc-6.10.4-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Distribution.Version</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Distribution-Version.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>Cabal-1.6.0.3: A framework for packaging Haskell software</TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Distribution.Version</FONT
></TD
><TD ALIGN="right"
><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="infohead"
>Portability</TD
><TD CLASS="infoval"
>portable</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>cabal-devel@haskell.org</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><B
>Contents</B
></TD
></TR
><TR
><TD
><DL
><DT
><A HREF="#1"
>Package versions
</A
></DT
><DT
><A HREF="#2"
>Version ranges
</A
></DT
></DL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>Exports the <TT
><A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TT
> type along with a parser and pretty printer. A version
 is something like <TT
>&quot;1.3.3&quot;</TT
>. It also defines the <TT
><A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TT
> data
 types. Version ranges are like <TT
>&quot;&gt;= 1.2 &amp;&amp; &lt; 2&quot;</TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> (<A HREF="../base/Data-Version.html#v%3AVersion"
>Version</A
>, <A HREF="../base/Data-Version.html#v%3AversionBranch"
>versionBranch</A
>, <A HREF="../base/Data-Version.html#v%3AversionTags"
>versionTags</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AVersionRange"
>VersionRange</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AAnyVersion"
>AnyVersion</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AThisVersion"
>ThisVersion</A
> <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ALaterVersion"
>LaterVersion</A
> <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AEarlierVersion"
>EarlierVersion</A
> <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AUnionVersionRanges"
>UnionVersionRanges</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AIntersectVersionRanges"
>IntersectVersionRanges</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AnotThisVersion"
>notThisVersion</A
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AorLaterVersion"
>orLaterVersion</A
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AorEarlierVersion"
>orEarlierVersion</A
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AbetweenVersionsInclusive"
>betweenVersionsInclusive</A
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AwithinRange"
>withinRange</A
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> -&gt; <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AisAnyVersion"
>isAnyVersion</A
> :: <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> -&gt; <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="1"
><A NAME="1"
>Package versions
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> (<A HREF="../base/Data-Version.html#v%3AVersion"
>Version</A
>, <A HREF="../base/Data-Version.html#v%3AversionBranch"
>versionBranch</A
>, <A HREF="../base/Data-Version.html#v%3AversionTags"
>versionTags</A
>)</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>Version ranges
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:VersionRange"
><A NAME="t%3AVersionRange"
></A
></A
><B
>VersionRange</B
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:AnyVersion"
><A NAME="v%3AAnyVersion"
></A
></A
><B
>AnyVersion</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ThisVersion"
><A NAME="v%3AThisVersion"
></A
></A
><B
>ThisVersion</B
> <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:LaterVersion"
><A NAME="v%3ALaterVersion"
></A
></A
><B
>LaterVersion</B
> <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:EarlierVersion"
><A NAME="v%3AEarlierVersion"
></A
></A
><B
>EarlierVersion</B
> <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:UnionVersionRanges"
><A NAME="v%3AUnionVersionRanges"
></A
></A
><B
>UnionVersionRanges</B
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:IntersectVersionRanges"
><A NAME="v%3AIntersectVersionRanges"
></A
></A
><B
>IntersectVersionRanges</B
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:VersionRange')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:VersionRange" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="../base/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="../base/Text-Read.html#t%3ARead"
>Read</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="../base/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:notThisVersion"
><A NAME="v%3AnotThisVersion"
></A
></A
><B
>notThisVersion</B
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:orLaterVersion"
><A NAME="v%3AorLaterVersion"
></A
></A
><B
>orLaterVersion</B
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:orEarlierVersion"
><A NAME="v%3AorEarlierVersion"
></A
></A
><B
>orEarlierVersion</B
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:betweenVersionsInclusive"
><A NAME="v%3AbetweenVersionsInclusive"
></A
></A
><B
>betweenVersionsInclusive</B
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:withinRange"
><A NAME="v%3AwithinRange"
></A
></A
><B
>withinRange</B
> :: <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
> -&gt; <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> -&gt; <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="doc"
>Does this version fall within the given range?
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:isAnyVersion"
><A NAME="v%3AisAnyVersion"
></A
></A
><B
>isAnyVersion</B
> :: <A HREF="Distribution-Version.html#t%3AVersionRange"
>VersionRange</A
> -&gt; <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.4.2</TD
></TR
></TABLE
></BODY
></HTML
>