4 ms·
It would help if you could point users to a Prolog implementation that is compatible with your examples. I couldn't find any in the book, but going up to your
by bhk 7y ago
It would help if you could point users to a Prolog implementation that is compatible with your examples. I couldn't find any in the book, but going up to your home page I found a couple of references to SWI-Prolog, and installed that, but the first two examples in the book resulted in syntax errors regarding the "#>" and "#=" operators.
- Avshalom 7y agoI can't remember exactly where it is mentioned (it is somewhere) but in SWI-Prolog you need to put :- use_module(library(clpfd)). at the top of your file (or just use_module(library(clpfd)). at the console)
- falsissime 7y agoOr :- use_module(library(clpz)). for its successor which runs with SICStus and Scryer.