fix stupid bug in setof (patch from U Neumerkel).
This commit is contained in:
parent
cfa665f320
commit
e9c83142ad
@ -150,7 +150,7 @@ bagof(Template, Generator, Bag) :-
|
||||
'$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'(findall(X,P,S0,S), (X,P,S0,S), Y, L0, L) :- !,
|
||||
'$excess_vars'(findall(X,P,S0,S), findall(X,P,S0,S), Y, L0, L) :- !,
|
||||
'$excess_vars'(S, _, Y, L0, L).
|
||||
'$excess_vars'(\+G, \+G, _, L0, LF) :- !,
|
||||
L0 = LF.
|
||||
|
Reference in New Issue
Block a user