oops...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1184 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
6c7b891ec8
commit
36878b9a2b
12
pl/boot.yap
12
pl/boot.yap
@ -615,20 +615,20 @@ incore(G) :- '$execute'(G).
|
||||
','(X,Y) :-
|
||||
'$save_current_choice_point'(CP),
|
||||
'$current_module'(M),
|
||||
'$call'(X,CP,G0,M),
|
||||
'$call'(Y,CP,G0,M).
|
||||
'$call'(X,CP,(X,Y),M),
|
||||
'$call'(Y,CP,(X,Y),M).
|
||||
';'(X,Y) :-
|
||||
'$save_current_choice_point'(CP),
|
||||
'$current_module'(M),
|
||||
( '$call'(X,CP,G0,M) ; '$call'(Y,CP,G0,M) ).
|
||||
( '$call'(X,CP,(X;Y),M) ; '$call'(Y,CP,(X;Y),M) ).
|
||||
'|'(X,Y) :-
|
||||
'$save_current_choice_point'(CP),
|
||||
'$current_module'(M),
|
||||
( '$call'(X,CP,G0,M) ; '$call'(Y,CP,G0,M) ).
|
||||
'|'(X,Y) :-
|
||||
( '$call'(X,CP,(X|Y),M) ; '$call'(Y,CP,(X|Y),M) ).
|
||||
'->'(X,Y) :-
|
||||
'$save_current_choice_point'(CP),
|
||||
'$current_module'(M),
|
||||
( '$call'(X,CP,G0,M) -> '$call'(Y,CP,G0,M) ).
|
||||
( '$call'(X,CP,G0,M) -> '$call'(Y,CP,(X->Y),M) ).
|
||||
\+(G) :- \+ '$execute'(G).
|
||||
not(G) :- \+ '$execute'(G).
|
||||
|
||||
|
Reference in New Issue
Block a user