[m-dev.] for review: add ++ and -- operators
David Overton
dmo at cs.mu.OZ.AU
Mon Aug 7 09:27:06 AEST 2000
On Fri, Aug 04, 2000 at 08:59:22PM +1000, Michael Day wrote:
> Add the line:
>
> ops__op_table("++", after, yfx, 500). % Mercury extension
>
Hi Michael,
You may want to consider making `++' right-associative (i.e. xfy)
since, as Peter Schachte has pointed out, this is more efficient for
stringing multiple appends together.
David
--
David Overton Department of Computer Science & Software Engineering
PhD Student The University of Melbourne, Victoria 3010, Australia
+61 3 8344 9159 http://www.cs.mu.oz.au/~dmo
--------------------------------------------------------------------------
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