[Git][ghc/ghc][master] Small language fixes in 'Using GHC'

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Oct 19 14:49:35 UTC 2022



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
a8b52786 by Jan Hrček at 2022-10-19T10:49:09-04:00
Small language fixes in 'Using GHC'

- - - - -


1 changed file:

- docs/users_guide/using.rst


Changes:

=====================================
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.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a8b52786326b5c931daf19222be87c58e2b8cab8

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a8b52786326b5c931daf19222be87c58e2b8cab8
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20221019/96835305/attachment-0001.html>


More information about the ghc-commits mailing list