[m-rev.] diff: fix bad documentation

Zoltan Somogyi zs at cs.mu.OZ.AU
Wed Jan 9 17:49:08 AEDT 2002


library/std_util.m:
	Fix some incorrect documentation.

Zoltan.

cvs diff: Diffing .
Index: std_util.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/std_util.m,v
retrieving revision 1.252
diff -u -b -r1.252 std_util.m
--- std_util.m	2002/01/09 06:41:31	1.252
+++ std_util.m	2002/01/09 06:45:52
@@ -1572,7 +1572,7 @@
 ** being a structure containing a pointer to the type_ctor_info for pred/0
 ** or func/0 and an arity, we have a single small encoded integer. This
 ** integer is four times the arity, plus zero, one or two; plus zero encodes a
-** tuple, plus one encodes a predicate, plus two encodes a function.
+** predicate, plus one encodes a function, plus two encodes a tuple.
 ** The maximum arity that can be encoded is given by MR_MAX_VARIABLE_ARITY
 ** (see below).
 ** The C type corresponding to std_util:type_ctor_desc is `MR_TypeCtorDesc'.
--------------------------------------------------------------------------
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