[m-rev.] for review: generalize the specialization of compare/3 predicates

Zoltan Somogyi zs at cs.mu.OZ.AU
Tue Feb 5 03:46:27 AEDT 2002


On 05-Feb-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> > > +		( { CompareSpec >= NumCtors } ->
> > > +			unify_proc__generate_du_quad_compare_clauses(
> > >  				Ctors, Res, H1, H2, Context, Clauses)
> > 
> > The comparison would be slightly easier to read with the constant
> > (CompareSpec) on the right.
> 
> OK, I will flip them around.

Actually, the previous switch arm has "CompareSpec >= 1", and I would
rather be consistent with that.

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