[m-dev.] for review: add MR_ to Word, Integer, String, etc...

Tyson Dowd trd at cs.mu.OZ.AU
Tue Aug 1 17:08:07 AEST 2000


On 01-Aug-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> You should use `typedef' rather than `#define' here.
> In general it's better to use `typedef' rather than `#define',
> since macros don't respect scopes and thus cause more name
> clash problems than typedefs, and in this particular case
> the names were originally typedefs, so defining them as
> macros could cause problems.

Done.

> > +#define Bool 		MR_Bool
> 
> Shouldn't that be `bool' rather than `Bool'?

Yep, fixed also.

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list