trivial diff: doc/reference_manual minor fixes

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Feb 6 00:33:25 AEDT 1998


doc/reference_manual.texi:
	Fix some minor spelling and formatting errors and
	improve the wording slightly in a couple of places.

cvs diff  doc/reference_manual.texi
Index: doc/reference_manual.texi
===================================================================
RCS file: /home/mercury1/repository/mercury/doc/reference_manual.texi,v
retrieving revision 1.85
diff -u -r1.85 reference_manual.texi
--- reference_manual.texi	1998/01/27 12:39:51	1.85
+++ reference_manual.texi	1998/02/05 13:31:59
@@ -2595,8 +2595,9 @@
 names of the type variables which are parameters to the type class, and the
 operations ("methods") which form the interface of the type class.
 
-For example
+For example,
 
+ at example
 :- typeclass point(T) where [
 	% coords(Point, X, Y):
 	%       X and Y are the cartesian coordinates of Point
@@ -2608,8 +2609,9 @@
 	%       and Y_Offset units in the Y direction
 	func translate(T, float, float) = T
 ].
+ at end example
 
-
+ at noindent
 declares the typeclass @code{point}, which refers to points in two dimensional
 space. 
 
@@ -3698,7 +3700,7 @@
 distinction between the pure and impure code very clear.  This is done
 by requiring every impure predicate to be so declared, and by requiring
 every call to an impure predicate to be flagged as such.  Predicates
-that are implemented in terms of impure predictes are assumed to be
+that are implemented in terms of impure predicates are assumed to be
 impure themselves unless they are explicitly promised to be pure.
 
 Please note that the facilities described here are needed only very
@@ -3715,7 +3717,7 @@
 * Impurity semantics::  What impure code means
 * Declaring impurity::  Declaring predicates impure
 * Impure calls::        Marking a call as impure
-* Promising purity::    Promising a predicate is pure
+* Promising purity::    Promising that a predicate is pure
 * Impurity Example::    A simple example using impurity
 @end menu
 
@@ -3835,7 +3837,7 @@
 
 
 @node Promising purity
- at subsection Promising a predicate is pure
+ at subsection Promising that a predicate is pure
 
 Some predicates which call impure or semipure predicates are themselves
 pure.  In fact, the main purpose of the Mercury impurity system is to

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list