[m-dev.] for review: add parsing/storing of assertions

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jul 8 20:38:19 AEST 1999


On 08-Jul-1999, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> > > +	%
> > > +	% After typechecking is finished the pred_info describing the
> > > +	% assertion should be removed from further processing and the
> > > +	% pred_id which describes the assertion stored in the
> > > +	% assertion_table.
> > > +	%
> > > +:- pred remove_assertion_from_further_processing(pred_id::in,
> > > +		module_info::in, module_info::out) is det.
> > 
> > I think it might make more sense to put that in hlds_module.m
> > rather than hlds_data.m.  What do you think?
> > 
> Even better, put it in post_typecheck

Yes, excellent idea.  That is a much more elegant solution.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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