[commit: ghc] master: user-guide: fix links and file names (fixes #13198) (b15136a)
git at git.haskell.org
git at git.haskell.org
Tue Jan 31 23:50:45 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b15136afb84a5193aa385ae7c635026aed54cf3b/ghc
>---------------------------------------------------------------
commit b15136afb84a5193aa385ae7c635026aed54cf3b
Author: Takenobu Tani <takenobu.hs at gmail.com>
Date: Tue Jan 31 16:07:48 2017 -0500
user-guide: fix links and file names (fixes #13198)
There are some incorrect links and file names in GHC user's guide.
* docs/users_guide/glasgow_exts.rst
- GHC/Base.lhs
- GHC/List.lhs
* docs/users_guide/ffi-chap.rst
- :base-ref:`Foreign`
- :base-ref:`Control.Concurrent`
I fixed them.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D3035
GHC Trac Issues: #13198
>---------------------------------------------------------------
b15136afb84a5193aa385ae7c635026aed54cf3b
docs/users_guide/ffi-chap.rst | 4 ++--
docs/users_guide/glasgow_exts.rst | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/users_guide/ffi-chap.rst b/docs/users_guide/ffi-chap.rst
index 70b55d0..d4bf343 100644
--- a/docs/users_guide/ffi-chap.rst
+++ b/docs/users_guide/ffi-chap.rst
@@ -21,7 +21,7 @@ that programs using these features are not portable. Hence, these
features should be avoided where possible.
The FFI libraries are documented in the accompanying library
-documentation; see for example the :base-ref:`Foreign` module.
+documentation; see for example the :base-ref:`Foreign <Foreign.html>` module.
.. _ffi-ghcexts:
@@ -569,7 +569,7 @@ where it is useful to have more control over which OS thread is used,
for example when calling foreign code that makes use of thread-local
state. For cases like this, we provide *bound threads*, which are
Haskell threads tied to a particular OS thread. For information on bound
-threads, see the documentation for the :base-ref:`Control.Concurrent` module.
+threads, see the documentation for the :base-ref:`Control.Concurrent <Control-Concurrent.html>` module.
Foreign exports and multi-threading
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index cf80901..0bbf658 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -13333,7 +13333,7 @@ Controlling what's going on in rewrite rules
great detail what rules are being fired. If you add :ghc-flag:`-dppr-debug`
you get a still more detailed listing.
-- The definition of (say) ``build`` in ``GHC/Base.lhs`` looks like
+- The definition of (say) ``build`` in ``GHC/Base.hs`` looks like
this: ::
build :: forall a. (forall b. (a -> b -> b) -> b -> b) -> [a]
@@ -13346,10 +13346,10 @@ Controlling what's going on in rewrite rules
any inlining happening in the RHS of the ``INLINE`` thing. I regret
the delicacy of this.
-- In ``libraries/base/GHC/Base.lhs`` look at the rules for ``map`` to
+- In ``libraries/base/GHC/Base.hs`` look at the rules for ``map`` to
see how to write rules that will do fusion and yet give an efficient
program even if fusion doesn't happen. More rules in
- ``GHC/List.lhs``.
+ ``GHC/List.hs``.
.. _special-ids:
More information about the ghc-commits
mailing list