summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-09-11 17:01:33 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2015-09-11 17:03:18 +0100
commit50d1c72588aefd79dcf5c81f56add41d81beb12f (patch)
treefd537449c19dc149f4b3b238cec57c0d901ac6ca /docs
parent377395e5ddeb634f0f2bb2385c6c1f23fb7578f5 (diff)
downloadhaskell-50d1c72588aefd79dcf5c81f56add41d81beb12f.tar.gz
Fix broken links in documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/7.12.1-notes.xml2
-rw-r--r--docs/users_guide/safe_haskell.xml2
-rw-r--r--docs/users_guide/using.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/7.12.1-notes.xml b/docs/users_guide/7.12.1-notes.xml
index bc5c7afe8f..d1310869fa 100644
--- a/docs/users_guide/7.12.1-notes.xml
+++ b/docs/users_guide/7.12.1-notes.xml
@@ -222,7 +222,7 @@
groups, unlike splices of the form
<literal>$(...)</literal>. This behavior has been
preserved under the new implementation, and is now
- recognized and documented in <xref linked="th-syntax"/>.
+ recognized and documented in <xref linkend="th-syntax"/>.
</para>
</listitem>
</itemizedlist>
diff --git a/docs/users_guide/safe_haskell.xml b/docs/users_guide/safe_haskell.xml
index f9bcf549bc..02182d3b8e 100644
--- a/docs/users_guide/safe_haskell.xml
+++ b/docs/users_guide/safe_haskell.xml
@@ -947,7 +947,7 @@
</para>
<para>
- Additionally, the use of <link linkend="annotations">annotations</link>
+ Additionally, the use of <link linkend="annotation-pragmas">annotations</link>
is forbidden, as that would allow bypassing Safe Haskell restrictions.
See <ulink url="https://ghc.haskell.org/trac/ghc/ticket/10826">ticket #10826</ulink>.
</para>
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 71d3467bbb..797e78485f 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -3043,7 +3043,7 @@ foldl f z (Stream step s _) = foldl_loop SPEC z s
</term>
<listitem>
<para><emphasis>On by default.</emphasis>
- Specialise <literal>INLINABLE</literal> (<xreg linked="inlinable-pragma"/>)
+ Specialise <literal>INLINABLE</literal> (<xref linkend="inlinable-pragma"/>)
type-class-overloaded functions imported from other modules for the
types at which they are called in this module. Note that specialisation must
be enabled (by <literal>-fspecialise</literal>) for this to have any effect.