[m-dev.] diff: MLDS back-end: support tabling

Zoltan Somogyi zs at cs.mu.OZ.AU
Fri Dec 31 16:25:52 AEDT 1999


> > +	proc_info_eval_method(ProcInfo, EvalMethod),
> > +	(
> > +		EvalMethod \= eval_normal
> > +	->
> 
> Such blanket tests against eval_normal are not a good idea; they will break
> when the next evaluation method is added. (I am about to add one, one for
> which your code would not work.) You should test for each possible
> evaluation method separately.

I forgot to mention that you should generate a "sorry, not implemented"
message instead of code if EvalMethod is minimal_model.

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