[m-rev.] diff: fix .rt grade bug

Zoltan Somogyi zs at cs.mu.OZ.AU
Thu Feb 12 21:02:42 AEDT 2004


On 12-Feb-2004, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> +	rep = MR_type_ctor_rep(type_ctor_info);
> +	type_stat->type_ctor_reps[MR_GET_ENUM_VALUE(rep)]++;

It would seem cleaner to put the MR_GET_ENUM_VALUE into the definition
of MR_type_ctor_rep, not wrap it around all its uses.

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