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
SWI-Prolog interpreter correctly returns L = [1,2 |X] indicating that L is a list with prefix [1,2]. However, the similar program written using pyswip:
Consider the query,
SWI-Prolog interpreter correctly returns
L = [1,2 |X]
indicating thatL
is a list with prefix[1,2]
. However, the similar program written using pyswip:prints
[1,2]
saying thatL
is the list[1,2]
. It should be[1,2 | X]
or similar.But it does not appear to be a unification issue since the following query unifies correctly, but is still displayed incorrectly:
prints
[1,2,3]
. It should be[1,2,3 | Y]
or similar.The text was updated successfully, but these errors were encountered: