Comments (1)
The standard talks about NSTO-unifications only. So this is in no way a standard related issue. However, more than a quarter century later we could have a tiny bit of progress, couldn't we? But note that cyclic terms are always a can of worms as it violates so many basic assumptions. Think of it: term-ordering is not fully defined for cyclic terms. (That is a term ordering that fits into the well defined ordering of finite terms). So this is not an implementation issue, it is a real problem that cannot be solved by saying true
or false
. You could produce an error for such cases, though.
If I am at it:
Trealla Prolog (c) Infradig 2020-2022, v1.34.22
?- -X = X.
X = -X.
?- set_prolog_flag(occurs_check, true).
true.
?- -X = X.
false.
?- set_prolog_flag(occurs_check, error).
true.
?- -X = X.
error(instantiation_error,term), unexpected.
representation_error(term). % expected
from trealla.
Related Issues (20)
- clpz broken HOT 19
- Very long system/startup time for loading clpz HOT 9
- Compilation error on OSX 10.14.2 HOT 1
- CLP(ℤ): wrong all_distinct/1 HOT 4
- New compilation problem HOT 3
- Top level: incorrect display of infinite list HOT 2
- listing/0 string struggles HOT 2
- phrase_from_file not working HOT 1
- Occurs-check broken HOT 2
- Occurs-check flag broken
- dif/2 and trees broken, top level broken HOT 1
- max_depth/1 now incorrect
- length/2 unexpected existence error HOT 2
- dif/2 incomplete
- dif/2, findall/3 spurious instantiation_error HOT 1
- freeze/2 cuts choice away
- clpz loops HOT 2
- dif/2 and trees incorrect
- format/2 removing multibyte characters (after phrase/2 and when DCG in a file)
- Toplevel: TAB completion inserts an unexpected SPACE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trealla.