-
Notifications
You must be signed in to change notification settings - Fork 31
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
succ/2 question #222
Comments
@UWN I don't think it makes a lot of sense, but p.p.6.3.f forces it to do so. Implementing a predicate is much like guessing the hidden procedural definition of the predicate. The error case p.p.6.3.f is strongly hinting Interestingly, If p.p.6.3.f were like Maybe it could be these three cases:
|
The following tests are based on the common de facto standard for the |
The closest
(of SICStus). In this situation the notion of evaluation does not make any sense. And yes, that could be the case for
Note that most systems just have unbounded integers and thus have much less problems in this area. |
For one, I have added to the errors of |
Why is there now this unexpected instantiation error:
|
Since Ichiban is currently one of actively developed ISO adhering system with bounded integers that are also checked, I can only ask the following question about `succ/2 to you:
These last two queries. Does it really make sense to produce an overflow? After all, it is evident that there cannot be a solution to the query.
Bounded integers have a lot such border cases that take a lot of time to ponder and codify. It is (partly) for this reason that many developers switched to unbounded integers. There, the moment of overflow (with gigantic numbers) is not that precisely defined, after all 7.12.2 h is possible at any stage of execution.
The text was updated successfully, but these errors were encountered: