yuce / pyswip

PySwip is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

draughts example is not working

pampelmuse76 opened this issue · comments

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

same for other examples too.

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.