Commit bbf874f7 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-10-28 08:16:54 by simonmar]

Fix links to library doc for Haddock 0.7.
parent 82460c32
...@@ -3875,7 +3875,7 @@ What follows is a brief introduction to the notation; ...@@ -3875,7 +3875,7 @@ What follows is a brief introduction to the notation;
it won't make much sense unless you've read Hughes's paper. it won't make much sense unless you've read Hughes's paper.
This notation is translated to ordinary Haskell, This notation is translated to ordinary Haskell,
using combinators from the using combinators from the
<ulink url="../libraries/base/Control.Arrow.html"><literal>Control.Arrow</literal></ulink> <ulink url="../libraries/base/Control-Arrow.html"><literal>Control.Arrow</literal></ulink>
module. module.
</para> </para>
...@@ -3988,7 +3988,7 @@ the arrow <literal>f</literal>, and matches its output against ...@@ -3988,7 +3988,7 @@ the arrow <literal>f</literal>, and matches its output against
<literal>y</literal>. <literal>y</literal>.
In the next line, the output is discarded. In the next line, the output is discarded.
The arrow <function>returnA</function> is defined in the The arrow <function>returnA</function> is defined in the
<ulink url="../libraries/base/Control.Arrow.html"><literal>Control.Arrow</literal></ulink> <ulink url="../libraries/base/Control-Arrow.html"><literal>Control.Arrow</literal></ulink>
module as <literal>arr id</literal>. module as <literal>arr id</literal>.
The above example is treated as an abbreviation for The above example is treated as an abbreviation for
<screen> <screen>
...@@ -4005,7 +4005,7 @@ arr (\ x -> (x, x)) >>> ...@@ -4005,7 +4005,7 @@ arr (\ x -> (x, x)) >>>
Note that variables not used later in the composition are projected out. Note that variables not used later in the composition are projected out.
After simplification using rewrite rules (see <xref linkend="rewrite-rules"/>) After simplification using rewrite rules (see <xref linkend="rewrite-rules"/>)
defined in the defined in the
<ulink url="../libraries/base/Control.Arrow.html"><literal>Control.Arrow</literal></ulink> <ulink url="../libraries/base/Control-Arrow.html"><literal>Control.Arrow</literal></ulink>
module, this reduces to module, this reduces to
<screen> <screen>
arr (\ x -> (x+1, x)) >>> arr (\ x -> (x+1, x)) >>>
...@@ -4300,7 +4300,7 @@ additional restrictions: ...@@ -4300,7 +4300,7 @@ additional restrictions:
<listitem> <listitem>
<para> <para>
The module must import The module must import
<ulink url="../libraries/base/Control.Arrow.html"><literal>Control.Arrow</literal></ulink>. <ulink url="../libraries/base/Control-Arrow.html"><literal>Control.Arrow</literal></ulink>.
</para> </para>
</listitem> </listitem>
......
...@@ -21,7 +21,7 @@ Packages ...@@ -21,7 +21,7 @@ Packages
a package. All you need to do is write a simple configuration file, put a a package. All you need to do is write a simple configuration file, put a
few files in the right places, and you have a package. See the few files in the right places, and you have a package. See the
<ulink url="../Cabal/index.html">Cabal documentation</ulink> <ulink url="../Cabal/index.html">Cabal documentation</ulink>
for details, and also the Cabal libraries (<ulink url="../libraries/Cabal/Distribution.Simple.html">Distribution.Simple</ulink>, for details, and also the Cabal libraries (<ulink url="../libraries/Cabal/Distribution-Simple.html">Distribution.Simple</ulink>,
for example).</para> for example).</para>
<sect2 id="using-packages"> <sect2 id="using-packages">
...@@ -616,7 +616,7 @@ exposed-modules: Network.BSD, ...@@ -616,7 +616,7 @@ exposed-modules: Network.BSD,
<para>A package specification is a Haskell record; in particular, it is the <para>A package specification is a Haskell record; in particular, it is the
record <ulink record <ulink
url="../libraries/Cabal/Distribution.InstalledPackageInfo.html#%tInstalledPackageInfo">InstalledPackageInfo</ulink> in the module Distribution.InstalledPackageInfo, which is part of the Cabal package distributed with GHC.</para> url="../libraries/Cabal/Distribution-InstalledPackageInfo.html#%tInstalledPackageInfo">InstalledPackageInfo</ulink> in the module Distribution.InstalledPackageInfo, which is part of the Cabal package distributed with GHC.</para>
<para>An <literal>InstalledPackageInfo</literal> has a human <para>An <literal>InstalledPackageInfo</literal> has a human
readable/writable syntax. The functions readable/writable syntax. The functions
...@@ -736,7 +736,7 @@ depends: base-1.0 ...@@ -736,7 +736,7 @@ depends: base-1.0
<listitem> <listitem>
<para>(string) The type of license under which this package is distributed. <para>(string) The type of license under which this package is distributed.
This field is a value of the <ulink This field is a value of the <ulink
url="../libraries/Cabal/Distribution.License.html#t:License"><literal>License</literal></ulink> type.</para> url="../libraries/Cabal/Distribution-License.html#t:License"><literal>License</literal></ulink> type.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment