ENHANCED: Enable goal expansion for CLP(ℤ).
This is now possible since #445 is resolved.
This commit is contained in:
@@ -3068,12 +3068,10 @@ is_false(var(X)) :- nonvar(X).
|
|||||||
|
|
||||||
:- dynamic(goal_expansion/1).
|
:- dynamic(goal_expansion/1).
|
||||||
|
|
||||||
% goal expansion is disabled for now, until #445 is resolved
|
user:goal_expansion(Goal0, Goal) :-
|
||||||
%
|
\+ goal_expansion(false),
|
||||||
% user:goal_expansion(Goal0, Goal) :-
|
clpz_expandable(Goal0),
|
||||||
% \+ goal_expansion(false),
|
clpz_expansion(Goal0, Goal).
|
||||||
% clpz_expandable(Goal0),
|
|
||||||
% clpz_expansion(Goal0, Goal).
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user