summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-05-31 11:16:19 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-05-31 12:08:15 +0100
commit67d845652defc09807eaf134c6d30c8bd26b665a (patch)
treeda91c67ae8ee06dcbebe74b4f5138838ccc22ba8 /docs
parentbfcb9e2def00d1aca81c6f8571ae1bb700a409eb (diff)
downloadhaskell-67d845652defc09807eaf134c6d30c8bd26b665a.tar.gz
more typos (#5225)
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/glasgow_exts.xml8
-rw-r--r--docs/users_guide/phases.xml2
-rw-r--r--docs/users_guide/profiling.xml2
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index f44bf7968a..e1795f2b28 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -2799,7 +2799,7 @@ different constructors. For example, this is fine:
T1 :: Eq b => b -> b -> T b
T2 :: (Show c, Ix c) => c -> [c] -> T c
</programlisting>
-When patten matching, these constraints are made available to discharge constraints
+When pattern matching, these constraints are made available to discharge constraints
in the body of the match. For example:
<programlisting>
f :: T a -> String
@@ -4031,7 +4031,7 @@ But these are not:
<programlisting>
-- Context assertion no smaller than head
instance C a => C a where ...
- -- (C b b) has more more occurrences of b than the head
+ -- (C b b) has more occurrences of b than the head
instance C b b => Foo [b] where ...
</programlisting>
</para>
@@ -6464,7 +6464,7 @@ Wiki page</ulink>.
must have type <literal>Q [Dec]</literal></para></listitem>
</itemizedlist>
Note that pattern splices are not supported.
- Inside a splice you can can only call functions defined in imported modules,
+ Inside a splice you can only call functions defined in imported modules,
not functions defined elsewhere in the same module.</para></listitem>
<listitem><para>
@@ -7518,7 +7518,7 @@ That leaves let expressions, whose translation is given in
of the Haskell Report.
In the translation box, first apply
the following transformation: for each pattern <literal>pi</literal> that is of
-form <literal>!qi = ei</literal>, transform it to <literal>(xi,!qi) = ((),ei)</literal>, and and replace <literal>e0</literal>
+form <literal>!qi = ei</literal>, transform it to <literal>(xi,!qi) = ((),ei)</literal>, and replace <literal>e0</literal>
by <literal>(xi `seq` e0)</literal>. Then, when none of the left-hand-side patterns
have a bang at the top, apply the rules in the existing box.
</para>
diff --git a/docs/users_guide/phases.xml b/docs/users_guide/phases.xml
index f2f3bb6d64..863838c977 100644
--- a/docs/users_guide/phases.xml
+++ b/docs/users_guide/phases.xml
@@ -1054,7 +1054,7 @@ $ cat foo.hspp</screen>
<listitem>
<para>On Windows, GHC normally generates a
<firstterm>manifest</firstterm><indexterm><primary>manifest</primary>
- </indexterm>file when linking a binary. The
+ </indexterm> file when linking a binary. The
manifest is placed in the file
<literal><replaceable>prog</replaceable>.exe.manifest</literal>
where <replaceable>prog.exe</replaceable> is the name of the
diff --git a/docs/users_guide/profiling.xml b/docs/users_guide/profiling.xml
index 40c757cbfc..01c7576b63 100644
--- a/docs/users_guide/profiling.xml
+++ b/docs/users_guide/profiling.xml
@@ -1383,7 +1383,7 @@ main = do
<screen>
$ ghc -fhpc Recip.hs --make
</screen>
- <para>HPC index (.mix) files are placed placed in .hpc subdirectory. These can be considered like
+ <para>HPC index (.mix) files are placed in .hpc subdirectory. These can be considered like
the .hi files for HPC.
</para>
<screen>