fix setof cleanup vars (patch from Bart Demoen).
This commit is contained in:
parent
5d966928b9
commit
df8f194d80
@ -148,7 +148,7 @@ bagof(Template, Generator, Bag) :-
|
||||
'$variables_in_term'(X+Y, [], NY),
|
||||
'$excess_vars'((P,S), _, NY, L0, L).
|
||||
'$excess_vars'(findall(X,P,S), findall(X,P,S), Y, L0, L) :- !,
|
||||
'$excess_vars'(S, Y, L0, L).
|
||||
'$excess_vars'(S, _, Y, L0, L).
|
||||
'$excess_vars'(findall(X,P,S0,S), (X,P,S0,S), Y, L0, L) :- !,
|
||||
'$excess_vars'(S, _, Y, L0, L).
|
||||
'$excess_vars'(\+G, \+G, _, L0, LF) :- !,
|
||||
|
Reference in New Issue
Block a user