Closed dcnorris closed 2 months ago
The program produces the following warning:
% Warning: singleton variables Q1, Q2 at line 31 of ediprologrQRUbd % Warning: overwriting maplist/3 because the clauses are discontiguous true.
This is because you are (I think inadvertently) redefining maplist/3
, because there is an accidental .
(instead of ,
) at the end of denom_le/3
!
The most recent ediprolog
version (2.3-PRE1) displays these warning as expected, but they are not visible with earlier ediprolog versions, because Scryer now shows warnings during compilation as comments (which I think fits the purpose of warnings). Please use the most recent ediprolog
version to spot such mistakes more easily.
Many thanks, Markus! I ought to have tried from terminal as well, and also scrutinized every last character of the offending clause! (Incidentally, I've just installed your very latest ediprolog.el — verifying with M-x locate-library
that it is indeed the one I'm using — but it still reports only "Buffer consulted" on the above repro. Meanwhile, I do see those Warnings when running Scryer in the terminal.)
Correction: doing C-h v ediprolog-version
showed that I was in fact not using the latest version; but after doing M-x restart-server RET
that variable updated, and all is well!
Commenting out the
denom_le2/3
clause restores correct answers (true) in the last 2 queries.