summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/ghci.rst2
-rw-r--r--docs/users_guide/separate_compilation.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/ghci.rst b/docs/users_guide/ghci.rst
index d1229ed0d5..e5e5c37402 100644
--- a/docs/users_guide/ghci.rst
+++ b/docs/users_guide/ghci.rst
@@ -2121,7 +2121,7 @@ On systems with ``.dll``-style shared libraries, the actual library
loaded will be ``lib.dll``, ``liblib.dll``. GHCi also has full support for
import libraries, either Microsoft style ``.lib``, or GNU GCC style ``.a`` and
``.dll.a`` libraries. If you have an import library it is advisable to always
-specify the import libary instead of the ``.dll``. e.g. use ``-lgcc` instead of
+specify the import library instead of the ``.dll``. e.g. use ``-lgcc` instead of
``-llibgcc_s_seh-1``. Again, GHCi will signal an error if it can't find the
library.
diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst
index 716dd92223..11cd2cfc4e 100644
--- a/docs/users_guide/separate_compilation.rst
+++ b/docs/users_guide/separate_compilation.rst
@@ -597,7 +597,7 @@ The GHC API exposes functions for reading and writing these files.
Runs a series of sanity checks and lints on the extended interface files
that are being written out. These include testing things properties such as
- variables not occuring outside of their expected scopes.
+ variables not occurring outside of their expected scopes.
The format in which GHC currently stores its typechecked AST, makes it costly
to collect the types for some expressions nodes. For the sake of performance,