Hi
Can you help me?
Got a grammar: ?-g(X,[]).
%%%%%%%%%%%%%%%%%%%%%%%%%
g --> c.
c --> [ok_1],[ok_2],[ok_3].
%%%%%%%%%%%%%%%%%%%%%%%%%
Result:
X=[ok_1, ok_2, ok_3]
no (more) answers
but:
%%%%%%%%%%%%%%%%%%%%%%%%%
g --> c.
c --> [ok_1],[ok_2],[ok_3].
% ?? delete ??
%%%%%%%%%%%%%%%%%%%%%%%%%
so that the Result is:
_
X=[ok_2, ok_3]
no (more) answers
_
without changing the query.
Can you help me?
Got a grammar: ?-g(X,[]).
%%%%%%%%%%%%%%%%%%%%%%%%%
g --> c.
c --> [ok_1],[ok_2],[ok_3].
%%%%%%%%%%%%%%%%%%%%%%%%%
Result:
X=[ok_1, ok_2, ok_3]
no (more) answers
but:
%%%%%%%%%%%%%%%%%%%%%%%%%
g --> c.
c --> [ok_1],[ok_2],[ok_3].
% ?? delete ??
%%%%%%%%%%%%%%%%%%%%%%%%%
so that the Result is:
_
X=[ok_2, ok_3]
no (more) answers
_
without changing the query.