fix \+((!,fail)).
This commit is contained in:
parent
0cd0ece207
commit
6a32efe51a
@ -1262,10 +1262,11 @@ not(G) :- \+ '$execute'(G).
|
||||
'$call'(B,CP,G0,M)
|
||||
).
|
||||
'$call'(\+ X, _CP, _G0, M) :- !,
|
||||
'$current_choice_point'(CP),
|
||||
\+ '$call'(X,CP,G0,M).
|
||||
\+ ('$current_choice_point'(CP),
|
||||
'$call'(X,CP,G0,M) ).
|
||||
'$call'(not(X), _CP, _G0, M) :- !,
|
||||
\+ '$call'(X,CP,G0,M).
|
||||
\+ ('$current_choice_point'(CP),
|
||||
'$call'(X,CP,G0,M) ).
|
||||
'$call'(!, CP, _,_) :- !,
|
||||
'$$cut_by'(CP).
|
||||
'$call'([A|B], _, _, M) :- !,
|
||||
|
Reference in New Issue
Block a user