Do not use this tag like Prologue and Epilogue.
I made a Prolog predicate posAt(List1,P,List2) that tests whether the element at position P of List1 and …
list prolog clpfd instantiation-errorI tried to write a code in Prolog for finding GCD (without using modulo) can anyone tell me what's wrong …
prolog greatest-common-divisorDoes anyone know of a nice (and preferably free) way to integrate Prolog and C#? Im looking to create a …
c# prolog integrateI'm a longtime python developer and recently have been introduced to Prolog. I love the concept of using relationship rules …
python prolog logic-programmingWhy does this fail L is [1,2,3,4], and this works: L = [1,2,3]? But L is 1, and L = 1 both work the same.
prolog resolution unificationI want to access list permutation and pass it as argument to other functions. This is the permutation code: takeout(…
list prolog permutation prolog-difPlease help me to solve this problem: I have a list of lists [[1,2],[3,4]] How do I get: [1,3] [1,4] [2,3] [2,4] Or if I …
list prolog cartesian-product cross-productIs there a way to just create a prolog script called hello.pl like this: #!/usr/local/bin/swipl -q …
shell command-line prolog executable swi-prologI am trying to write a predicate palindrome/1 in Prolog that is true if and only if its list input …
prolog palindrome dcgI'd like to include code from another source file. Does anyone know how to do that?
file include prolog