You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular, the following should succeed, and the toplevel should use this to obtain the list Gs of residual goals:
?- puzzle(Ps), copy_term(Ps, Ps, Gs).
Currently, it unexpectedly fails, and the toplevel does not show the residual goals at all.
After this query has failed, the earlier query suddenly yields much more output, and the output also contains terms that are not residual goals, such as:
Here are several interrelated issues resulting from the desire to correctly show residual goals on the toplevel.
Starting with
clpz10.pl
from https://www.metalevel.at/clpz/scryer/clpz10.pl and the following program:I get:
However, these variables are involved in constraints, and I therefore expect to see residual constraints.
I can obtain them as a list
Gs
of goals withcopy_term/3
:In this example,
Copy
is a fresh copy of the term Ps, and I therefore expect the following query to succeed, although it currently unexpectedly fails:In particular, the following should succeed, and the toplevel should use this to obtain the list
Gs
of residual goals:Currently, it unexpectedly fails, and the toplevel does not show the residual goals at all.
After this query has failed, the earlier query suddenly yields much more output, and the output also contains terms that are not residual goals, such as:
Please see #253 for a crash that is also related to this.
The text was updated successfully, but these errors were encountered: