[m-dev.] diff: use_module

Tyson Richard DOWD trd at cs.mu.oz.au
Sat Jun 28 23:19:53 AEST 1997


> Or alternatively, it might be better to use a new type rather than `bool'.
> The problem is that it is difficult to figure out what `yes' or `no'
> is supposed to mean.

This is often true of bools, unfortunately. We probably over use them.

> 
> module_qual.m:
> 
> > -			unit	% junk slot
> > +			bool	% is the current item from a module imported
> > +				% using a use_module declaration or from an 
> > +				% optimization interface.
> 
> The comment here doesn't say which is which.  What does `yes' mean?

(IMHO) Since it's an either/or question, don't use a bool, use a new type.

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't eveyone's cup of
     trd at cs.mu.oz.au        #  fur.
http://www.cs.mu.oz.au/~trd #



More information about the developers mailing list