[m-rev.] trivial diff: add missing @noindents to state var docs

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Nov 7 00:42:41 AEDT 2003

Estimated hours taken: 0.25
Branches: main

	Add some missing "@noindent" directives to the documentation
	of state variable syntax.

Workspace: /home/jupiter/fjh/ws-jupiter/mercury
Index: doc/reference_manual.texi
RCS file: /home/mercury1/repository/mercury/doc/reference_manual.texi,v
retrieving revision 1.280
diff -u -d -r1.280 reference_manual.texi
--- doc/reference_manual.texi	23 Oct 2003 02:02:22 -0000	1.280
+++ doc/reference_manual.texi	6 Nov 2003 06:02:41 -0000
@@ -752,6 +752,7 @@
 		io__write_int(calculate_answer(@dots{}), IO1, IO2),
 		io__nl(IO3, IO).
 @end example
+ at noindent
 using state variable syntax one could write
 	main(!IO) :-
@@ -796,11 +797,13 @@
 	p((if q(!@var{X}), r(!@var{X}) then @var{A} else @var{B}), !@var{X})
 @end example
+ at noindent
 is illegal because it implicitly refers to @samp{!:@var{X}} in the condition
 of the if-then-else expression.  However
 	p((if some[!@var{X}] (q(!@var{X}), r(!@var{X})) then @var{A} else @var{B}), !@var{X})
 @end example
+ at noindent
 is acceptable because the state variable @var{X} is locally scoped to the
 condition and then-goal of the if-then-else expression, hence @samp{!:@var{X}}
 may appear therein.

Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe

More information about the reviews mailing list