[m-rev.] Add `.' as a module separator.

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Dec 3 18:59:50 AEDT 2002


On 03-Dec-2002, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> +++ library/ops.m	3 Dec 2002 07:15:25 -0000
> @@ -264,7 +264,7 @@
>  ops__op_table("--->", after, xfy, 1179).	% Mercury extension
>  ops__op_table("-->", after, xfx, 1200).		% standard ISO Prolog
>  ops__op_table("->", after, xfy, 1050).		% standard ISO Prolog
> -ops__op_table(".", after, xfy, 600).		% traditional Prolog (not ISO)
> +ops__op_table(".", after, yfx, 10).		% not traditional or ISO Prolog

For consistency with elsewhere, that comment should say "Mercury extension".

It might also be worth mentioning that "." is also an operator
in traditional Prolog, but with a difference precedence and associativity.

-- 
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