[m-rev.] [reuse] diff: no aliases between primitive types

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Mar 30 13:14:54 AEST 2001


On 29-Mar-2001, Nancy Mazur <Nancy.Mazur at cs.kuleuven.ac.be> wrote:
> pa_alias.m:
> 	Before generating an alias with an argument of a
> 	construction or deconstruction unification, verify whether it's
> 	type is non-atomic. If it's atomic (int, float, char, enum, ..), 
> 	then no alias is made. 

You should think carefully about whether that is the right thing to do
for `float', which may be boxed.  (It may well be, I'm just mentioning
this in case you hadn't considered the issue.)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  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