[m-rev.] Added int:'/'/2 and builtin false/0

Fergus Henderson fjh at cs.mu.OZ.AU
Tue May 21 17:09:37 AEST 2002


On 21-May-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> > But the reason for using // rather than / is mainly for the *readers*
> > of the code rather than the writer.
> 
> There's no inconsistency that needs special attention.

The point is that "truncating integer division" is not a mathematical
division operation.  It has significantly different semantics to floating
point division.  It makes sense to use a different symbol for different
operations.

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