diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/7.12.1-notes.xml | 2 | ||||
-rw-r--r-- | docs/users_guide/safe_haskell.xml | 2 | ||||
-rw-r--r-- | docs/users_guide/using.xml | 2 |
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. |