[m-dev.] diff: Re: [mercury-bugs] doc "bug" for record syntax

Simon Taylor stayl at cs.mu.OZ.AU
Tue Nov 7 11:52:09 AEDT 2000


Tyson wrote on mercury-bugs:
> The DCG forms of the field selection and update syntax are documented in
> the reference manual under the DCG expansion section, but it would be
> very useful if this was referenced or at least mentioned in the sections
> on "Record Syntax" and "Field Access".

There already is a reference in the "Field access functions" section.
I've added one to the "Record syntax" section.

Simon.


Estimated hours taken: 0.1

doc/reference_manual.texi:
	Add a reference to the "DCG-goals" section from the
	"Record syntax" section, to make it easier to
	find the DCG record syntax goals.

Index: reference_manual.texi
===================================================================
RCS file: /home/mercury1/repository/mercury/doc/reference_manual.texi,v
retrieving revision 1.196
diff -u -u -r1.196 reference_manual.texi
--- reference_manual.texi	2000/11/01 02:06:25	1.196
+++ reference_manual.texi	2000/11/07 00:37:14
@@ -948,7 +948,9 @@
 Record syntax expressions are transformed into sequences of calls
 to field selection or update functions (@pxref{Field access functions}).
 
-Record syntax expressions have one of the following forms:
+Record syntax expressions have one of the following forms.
+There are equivalent goals which act on the DCG arguments
+of a clause (@pxref{DCG-goals}).
 
 @table @code
 @item @var{Term} ^ @var{field}
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list