fix another bug in nth_instance, thanks to Pat Caldon
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -721,3 +721,10 @@ halt :-
|
||||
halt(X) :-
|
||||
'$halt'(X).
|
||||
|
||||
nth_instance(X,Y,Z) :-
|
||||
nonvar(X), var(Y), var(Z), !,
|
||||
recorded(X,_,Z),
|
||||
'$nth_instance'(_,Y,Z).
|
||||
nth_instance(X,Y,Z) :-
|
||||
'$nth_instance'(X,Y,Z).
|
||||
|
||||
|
Reference in New Issue
Block a user