diff options
Diffstat (limited to 'docs/users_guide')
-rw-r--r-- | docs/users_guide/editing-guide.rst | 2 | ||||
-rw-r--r-- | docs/users_guide/exts/ffi.rst | 2 | ||||
-rw-r--r-- | docs/users_guide/exts/primitives.rst | 5 |
3 files changed, 4 insertions, 5 deletions
diff --git a/docs/users_guide/editing-guide.rst b/docs/users_guide/editing-guide.rst index 4d6c22dcc8..737abd3b2e 100644 --- a/docs/users_guide/editing-guide.rst +++ b/docs/users_guide/editing-guide.rst @@ -228,7 +228,7 @@ For instance, .. code-block:: rest - See the documentation for :base-ref:`Control.Applicative <Control-Applicative.html>` + See the documentation for :base-ref:`Control.Applicative.` for details. Math diff --git a/docs/users_guide/exts/ffi.rst b/docs/users_guide/exts/ffi.rst index 4e66dc2ab9..fb0ea38f08 100644 --- a/docs/users_guide/exts/ffi.rst +++ b/docs/users_guide/exts/ffi.rst @@ -1027,7 +1027,7 @@ Pinned Byte Arrays A pinned byte array is one that the garbage collector is not allowed to move. Consequently, it has a stable address that can be safely requested with ``byteArrayContents#``. There are a handful of -primitive functions in :ghc-prim-ref:`GHC.Prim <GHC-Prim.html>` +primitive functions in :ghc-prim-ref:`GHC.Prim.` used to enforce or check for pinnedness: ``isByteArrayPinned#``, ``isMutableByteArrayPinned#``, and ``newPinnedByteArray#``. A byte array can be pinned as a result of three possible causes: diff --git a/docs/users_guide/exts/primitives.rst b/docs/users_guide/exts/primitives.rst index f8580c9685..57fe6adc79 100644 --- a/docs/users_guide/exts/primitives.rst +++ b/docs/users_guide/exts/primitives.rst @@ -12,9 +12,8 @@ you write will be optimised to the efficient unboxed version in any case. And if it isn't, we'd like to know about it. All these primitive data types and operations are exported by the -library ``GHC.Prim``, for which there is -:ghc-prim-ref:`detailed online documentation <GHC.Prim.>`. (This -documentation is generated from the file ``compiler/GHC/Builtin/primops.txt.pp``.) +library :ghc-prim-ref:`GHC.Prim.`. (This documentation is generated from +the file ``compiler/GHC/Builtin/primops.txt.pp``.) If you want to mention any of the primitive data types or operations in your program, you must first import ``GHC.Prim`` to bring them into |