yuce / pyswip

PySwip is a Python-Prolog interface that enables querying SWI-Prolog in your Python programs.
https://pyswip.org
MIT License
482 stars 98 forks source link

draughts example is not working #117

Closed pampelmuse76 closed 3 years ago

pampelmuse76 commented 3 years ago

In pyswip/examples/draughts/puzzle1.pl the line Board in 0..12 must be replaced by: Board ins 0..12,

pampelmuse76 commented 3 years ago

same for other examples too.

pampelmuse76 commented 3 years ago

Problem is: The predicate in/2 is defined a bit different in library('bounds') and library(clpfd). And in my environment somehow clpfd is used.