This commit is contained in:
Vitor Santos Costa
2019-05-21 13:50:41 +01:00
parent 8c3c3f921c
commit e7535dd2ee
2 changed files with 7 additions and 2 deletions

View File

@@ -163,7 +163,8 @@ ignore(Goal) :- (Goal->true;true).
* it is both more efficient and more portable.
*
*/
if(X,Y,Z) :-
if(X0,Y,Z) :-
'$yap_strip_module'(X0,M,X),
(
'$$save_by'(CP),
'$call'(X,CP,if(X,Y,Z),M),