-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attributed variables #1
Comments
Personally, I find it extremely hard to think about two different library versions, so here is initial feedback for the version that ships with Scryer Prolog: The expected behaviour after this unification is indeed that Personally, I found that Scryer Prolog so far handled everything exactly as I would expect it, and in fact more "by the book" than SICStus Prolog in that Scryer completely adheres to what the SICStus documentation about |
Thank you a lot, I have a better idea how it works.
Sorry, I will stick with the version that ships with Scryer. It seems that the reason why Would there be any issue if |
One important posting that may also help to get the right mental model (I previously wrote: "module") about |
... where I now see you already participated! Still, a useful reference! |
Also, thanks to your question, I now found a completely unexpected situation in Scryer Prolog, explained in mthom/scryer-prolog#2732. These are very subtle and difficult issues, difficult to test, and where potential mistakes may arise only very, very rarely. I therefore recommend to first and foremost put everything we can into ensuring compatibility with SICStus Prolog. This is difficult enough, which we see alone from the fact that Scryer Prolog is one of the few Prolog systems that aims for full compatibility with SICStus in this respect, and also from issues like the posted one. Why aim for SICStus? Because we know it works, for many different kinds of constraint solvers, including CLP(Q) which no free Prolog system provides in a way that works correctly. |
Hello @triska, I'm using this version of
clpz
which was extracted from Scryer with some changes.I tried this query with Scryer:
And I expected
portray_clause/2
to also report:Since it would be trigger for
X
andY
. Is this expected?The text was updated successfully, but these errors were encountered: