PROLOG all different
- by inspectorG4dget
Hello SO,
I have a very weird problem with PROLOG. I have used it before, but it's been a while and I'm rusty. I have a list of variables and I need to ensure that none of them are the same.
I have tried:
use_module(library(bounds)).
all_different(A, B, C, D, 6, 8).
However, when I try this, I get an error saying that all_different/6 is undefined.
How can I go about solving this issue? Is there any library function that I can call directly for this?
I am VERY stuck and would greatly appreciate any help.
Thanks in advance.