Files
mercury/library
Zoltan Somogyi c13a91751b The fixpoint loop for detecting whether we have returned all answers
Estimated hours taken: 5
Branches: main

runtime/mercury_minimal_model.c:
	The fixpoint loop for detecting whether we have returned all answers
	to all consumers had an incorrect termination condition. Fix the bug,
	and rewrite the loop to be clearer by putting its test at the bottom,
	to make text order and temporal order agree.

	At each iteration of the fixpoint algorithm, check whether the
	generator doing the completion operation is still the leader.

	Fix a bug in the recording of leaders at coups.

runtime/mercury_minimal_model.[ch]:
library/table_builtin.m:
	Add support for recording, for each generator, the deepest of the
	nearest common ancestor between the generator and one of its consumers.
	We will need this soon.

tests/tabling/Mmakefile:
	Record that we now pass the coup2 test case.

tests/tabling/sg.{m,exp}:
	Test the tabling of the same generation predicate in the out,out mode
	as well as the in,out mode.
2004-03-12 09:21:51 +00:00
..
2004-01-20 23:02:24 +00:00
2003-12-11 03:05:39 +00:00
2003-12-19 02:45:30 +00:00