introduce at_halt/1.

fix bug in naming variables in suspended goals.
This commit is contained in:
Vítor Santos Costa
2012-12-02 13:18:29 +00:00
parent 3c0e16030c
commit 2cbf3439ac
4 changed files with 19 additions and 8 deletions

View File

@@ -270,7 +270,7 @@ call_residue(Goal,Module,Residue) :-
delayed_goals(G, Vs, NVs, Gs) :-
project_delayed_goals(G),
copy_term(G.Vs, _.NVs, Gs).
copy_term([G|Vs], [_|NVs], Gs).
project_delayed_goals(G) :-
% SICStus compatible step,