Open UWN opened 9 months ago
Thanks for the report. I'll answer the git-describe question first while I research the length/2
issue:
The reason git describe
shows an ancient version number is because by default git describe
only displays annotated tags. If you use git describe --tags
it will show the lightweight tag used for v3.5.0. Ideally we would have used annotated tags for all release versions, but Github has a bug/mis-feature that it only tags releases made in the UI with lightweight tags.
... while I research the length/2 issue
Not sure I was clear about it, but there is a draft https://www.complang.tuwien.ac.at/ulrich/iso-prolog/prologue#length for length/2
which is followed quite closely by many implementations http://www.complang.tuwien.ac.at/ulrich/iso-prolog/length
Note that there is no need to be perfect as to the detection of all kinds of loops although the more modern systems all detect such cases rapidly. So looping for a case like http://www.complang.tuwien.ac.at/ulrich/iso-prolog/length#22 is fine. More sophisticated implementations produce a resource_error rapidly which is preferable form a resource consumption viewpoint.
Not sure this is a real error or just a compilation problem. See length#3. Also
git describe
and the banner show different versions.