aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgmelquio2009-10-13 17:53:59 +0000
committergmelquio2009-10-13 17:53:59 +0000
commit7e26a75665e4670bd6838c5ddcd2c92cfb3d91b0 (patch)
tree3baf79db00e58f480e5debb09f0a7c3ebd944ca7
parent290bc531699755ef8c559d1886a5c97d8bc72f36 (diff)
Typos.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12386 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--doc/refman/Classes.tex16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/refman/Classes.tex b/doc/refman/Classes.tex
index 2b4bab00b2..23b018ee35 100644
--- a/doc/refman/Classes.tex
+++ b/doc/refman/Classes.tex
@@ -10,7 +10,7 @@
\label{typeclasses}
\begin{flushleft}
- \em The status of Type Classes is (extremelly) experimental.
+ \em The status of Type Classes is (extremely) experimental.
\end{flushleft}
This chapter presents a quick reference of the commands related to type
@@ -64,7 +64,7 @@ Class EqDec (A : Type) := {
\end{coq_example*}
This class implements a boolean equality test which is compatible with
-leibniz equality on some type. An example implementation is:
+Leibniz equality on some type. An example implementation is:
\begin{coq_example*}
Instance unit_EqDec : EqDec unit :=
@@ -136,8 +136,8 @@ particular support for type classes:
Implicit quantification is an automatic elaboration of a statement with
free variables into a closed statement where these variables are
-quantified explicitely. Implicit generalization is done only inside
-binders begining with a backquote \texttt{`} and the codomain of
+quantified explicitly. Implicit generalization is done only inside
+binders beginning with a backquote \texttt{`} and the codomain of
\texttt{Instance} declarations.
Following the previous example, one can write:
@@ -145,7 +145,7 @@ Following the previous example, one can write:
Definition neqb_impl `{eqa : EqDec A} (x y : A) := negb (eqb x y).
\end{coq_example}
-Here \texttt{A} is implicitely generalized, and the resulting function
+Here \texttt{A} is implicitly generalized, and the resulting function
is equivalent to the one above. One must be careful that \emph{all} the
free variables are generalized, which may result in confusing errors in
case of typos. In such cases, the context will probably contain some
@@ -176,7 +176,7 @@ These instances are used just as well as lemmas in the instance hint database.
\asection{Sections and contexts}
\label{SectionContext}
-To ease the parameterisation of developments by type classes, we provide
+To ease the parametrization of developments by type classes, we provide
a new way to introduce variables into section contexts, compatible with
the implicit argument mechanism.
The new command works similarly to the \texttt{Variables} vernacular
@@ -210,7 +210,7 @@ About option_eqb.
\end{coq_example}
Here the \texttt{Global} modifier redeclares the instance at the end of
-the section, once it has been generalized by the context variabes it uses.
+the section, once it has been generalized by the context variables it uses.
\asection{Building hierarchies}
@@ -245,7 +245,7 @@ Definition le_eqb `{Ord A} (x y : A) := andb (le x y) (le y x).
\end{coq_example*}
In some cases, to be able to specify sharing of structures, one may want to give
-explicitely the superclasses. It is is possible to do it directly in regular
+explicitly the superclasses. It is is possible to do it directly in regular
binders, and using the \texttt{!} modifier in class binders. For
example:
\begin{coq_example*}