The inner predicate is true for X = 3, 4, and 5, but Ans is 1.
If I understand the index declaration correctly, each index declaration must have its length equal to the number of arguments, but cl_facts seems to insist that each of them be of length 2.
--
You received this message because you are subscribed to the Google Groups "Picat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picat-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picat-lang/bc20b90c-d5d8-4087-9e23-7ec27b50fc8bn%40googlegroups.com.