[m-rev.] diff: fix error in a reference manual example

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Dec 20 16:45:29 AEDT 2010


Branches: main, 11.01

reference_manual.texi:
 	Fix an error in the try goal example.

Julien.

Index: reference_manual.texi
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/doc/reference_manual.texi,v
retrieving revision 1.452
diff -u -r1.452 reference_manual.texi
--- reference_manual.texi	23 Nov 2010 04:37:15 -0000	1.452
+++ reference_manual.texi	20 Dec 2010 05:43:23 -0000
@@ -6011,7 +6011,7 @@
                  io.write_string("p threw something: ", !IO),
                  io.write(Other, !IO),
                  % Rethrow the value.
-                throw(X)
+                throw(Other)
          ).
  @end example

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list