Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 70ec89744a04da80369b4702b2c37256 > files > 50

ghc-doc-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.Text</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-Text.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.Text</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 CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>This defines a <TT
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
></TT
> class which is a bit like the <TT
><A HREF="../base/Text-Read.html#t%3ARead"
>Read</A
></TT
> and <TT
><A HREF="../base/Text-Show.html#t%3AShow"
>Show</A
></TT
>
 classes. The difference is that is uses a modern pretty printer and parser
 system and the format is not expected to be Haskell concrete syntax but
 rather the external human readable representation used by Cabal.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
>  <A NAME="t:Text"
><A NAME="t%3AText"
></A
></A
><B
>Text</B
> a  <SPAN CLASS="keyword"
>where</SPAN
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
>Methods</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A NAME="v:disp"
><A NAME="v%3Adisp"
></A
></A
><B
>disp</B
> :: a -&gt; <A HREF="../pretty/Text-PrettyPrint-HughesPJ.html#t%3ADoc"
>Doc</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:parse"
><A NAME="v%3Aparse"
></A
></A
><B
>parse</B
> ::  <A HREF="Distribution-Compat-ReadP.html#t%3AReadP"
>ReadP</A
> r a</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Text')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Text" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="../base/Data-Version.html#t%3AVersion"
>Version</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> VersionWildcard</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
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Language-Haskell-Extension.html#t%3AExtension"
>Extension</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-System.html#t%3APlatform"
>Platform</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-System.html#t%3AArch"
>Arch</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-System.html#t%3AOS"
>OS</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-Package.html#t%3ADependency"
>Dependency</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-Package.html#t%3APackageIdentifier"
>PackageIdentifier</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-Package.html#t%3APackageName"
>PackageName</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-ModuleName.html#t%3AModuleName"
>ModuleName</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-License.html#t%3ALicense"
>License</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-Compiler.html#t%3ACompilerId"
>CompilerId</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-Compiler.html#t%3ACompilerFlavor"
>CompilerFlavor</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-PackageDescription.html#t%3ARepoType"
>RepoType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-PackageDescription.html#t%3ARepoKind"
>RepoKind</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Distribution-Text.html#t%3AText"
>Text</A
> <A HREF="Distribution-PackageDescription.html#t%3ABuildType"
>BuildType</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:display"
><A NAME="v%3Adisplay"
></A
></A
><B
>display</B
> :: <A HREF="Distribution-Text.html#t%3AText"
>Text</A
> a =&gt; a -&gt; <A HREF="../base/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:simpleParse"
><A NAME="v%3AsimpleParse"
></A
></A
><B
>simpleParse</B
> :: <A HREF="Distribution-Text.html#t%3AText"
>Text</A
> a =&gt; <A HREF="../base/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="../base/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> 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
>