diff options
author | Brian Wignall <brianwignall@gmail.com> | 2019-11-08 16:21:03 -0500 |
---|---|---|
committer | Brian Wignall <brianwignall@gmail.com> | 2019-11-23 19:04:52 -0500 |
commit | 7b4c7b75be351e9b6a40093cbccab728dd89064f (patch) | |
tree | 01126ac3823a1f1b197ac1865d7bc628eb4676a5 /docs | |
parent | c14b723f7fa24b4db0b561f9ab0d6e0f4261fd2f (diff) | |
download | haskell-7b4c7b75be351e9b6a40093cbccab728dd89064f.tar.gz |
Fix typos
Diffstat (limited to 'docs')
-rw-r--r-- | docs/opt-coercion/code.sty | 14 | ||||
-rw-r--r-- | docs/storage-mgt/code.sty | 14 | ||||
-rw-r--r-- | docs/users_guide/ghci.rst | 2 | ||||
-rw-r--r-- | docs/users_guide/separate_compilation.rst | 2 |
4 files changed, 16 insertions, 16 deletions
diff --git a/docs/opt-coercion/code.sty b/docs/opt-coercion/code.sty index fe5b38c35c..e5abaaf424 100644 --- a/docs/opt-coercion/code.sty +++ b/docs/opt-coercion/code.sty @@ -4,22 +4,22 @@ % you write "\makeatactive". From then on, inline code is written as @\x % -> x_1 & y@. The only difference with what you are used to, is that % instead of -% +% % @ % foo :: Int -> Int % foo = \n -> n+1 % @ -% +% % you have to write -% +% % \begin{code} % foo :: Int -> Int % foo = \n -> n+1 % \end{code} -% -% and that you cannot use @ in \section{} and \caption{}. For the paper that occured twice, in which case I had to replace @...@ b y \texttt{...}. -% -% +% +% and that you cannot use @ in \section{} and \caption{}. For the paper that occurred twice, in which case I had to replace @...@ b y \texttt{...}. +% +% % code.sty --- nice verbatim mode for code % To get '@' use \verb+@+ diff --git a/docs/storage-mgt/code.sty b/docs/storage-mgt/code.sty index f5ec2f59ee..175e212653 100644 --- a/docs/storage-mgt/code.sty +++ b/docs/storage-mgt/code.sty @@ -4,22 +4,22 @@ % you write "\makeatactive". From then on, inline code is written as @\x
% -> x_1 & y@. The only difference with what you are used to, is that
% instead of
-%
+%
% @
% foo :: Int -> Int
% foo = \n -> n+1
% @
-%
+%
% you have to write
-%
+%
% \begin{code}
% foo :: Int -> Int
% foo = \n -> n+1
% \end{code}
-%
-% and that you cannot use @ in \section{} and \caption{}. For the paper that occured twice, in which case I had to replace @...@ b y \texttt{...}.
-%
-%
+%
+% and that you cannot use @ in \section{} and \caption{}. For the paper that occurred twice, in which case I had to replace @...@ b y \texttt{...}.
+%
+%
% code.sty --- nice verbatim mode for code
\def\icode{%
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, |