summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJan Hrček <honza.hrk@gmail.com>2022-10-13 15:32:20 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-10-19 10:49:09 -0400
commita8b52786326b5c931daf19222be87c58e2b8cab8 (patch)
tree05e40fde3ec121959a090daa43a0eaa0e383754c /docs
parent1fab959843a27a3acfa04b435241688cad3ab713 (diff)
downloadhaskell-a8b52786326b5c931daf19222be87c58e2b8cab8.tar.gz
Small language fixes in 'Using GHC'
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/using.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/users_guide/using.rst b/docs/users_guide/using.rst
index ecb64bbdb2..645bea8ef2 100644
--- a/docs/users_guide/using.rst
+++ b/docs/users_guide/using.rst
@@ -784,7 +784,7 @@ pass to ``--make`` mode.
Then when the compiler starts in ``--make`` mode it will compile both units ``a`` and ``b``.
-There is also very basic support for multple home units in GHCi, at the moment you can start
+There is also very basic support for multiple home units in GHCi, at the moment you can start
a GHCi session with multiple units but only the `:reload`:ghci-cmd: is supported.
.. ghc-flag:: -unit @⟨filename⟩
@@ -809,7 +809,7 @@ units easier.
to this directory. When there are multiple home units the compiler is often
not operating in the standard directory and instead where the cabal.project
file is located. In this case the `-working-dir` option can be passed which specifies
- the path from the current directory to the directory the unit assumes to be it's root,
+ the path from the current directory to the directory the unit assumes to be its root,
normally the directory which contains the cabal file.
When the flag is passed, any relative paths used by the compiler are offset
@@ -868,7 +868,7 @@ multiple home units.
Any external unit must not depend on any home unit.
This closure property is checked by the compiler but it's up to the tool invoking
-GHC to ensure that the supplied list of home units obey this invariant.
+GHC to ensure that the supplied list of home units obeys this invariant.
For example, if we have three units, ``p``, ``q`` and ``r``, where ``p`` depends on ``q`` and
``q`` depends on ``r``, then the closure property states that if we load ``p`` and ``r`` as
@@ -1051,7 +1051,7 @@ See also the ``--help``, ``--version``, ``--numeric-version``, and
:category: verbosity
When GHC can't find an instance for a class, it displays a short
- list of some in the instances it knows about. With this flag it
+ list of some of the instances it knows about. With this flag it
prints *all* the instances it knows about.
.. ghc-flag:: -fhide-source-paths
@@ -1692,9 +1692,9 @@ GHC can also be configured using various environment variables.
.. envvar:: GHC_NO_UNICODE
- When non-empty, disables Unicode diagnostics output will be disabled of locale settings.
+ When non-empty, disables Unicode diagnostics output regardless of locale settings.
.. envvar:: GHC_CHARENC
When set to ``UTF-8`` the compiler will always print UTF-8-encoded output, regardless
- the current locale.
+ of the current locale.