[m-rev.] for review: change list constructor from `./2' to `[|]/2'

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Sep 24 12:38:56 AEST 2001


On 24-Sep-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> compiler/typecheck.m:
> 	Handle `./2' as a special case in `report_error_undef_cons'.

That looks fine.

But it would also be good to handle `[|]/2' as a special case there,
in particular reporting an appropriate error message if the `list'
module is not imported (or otherwise visible).

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