Skip to content

Ensuring variables are distinct #82

Answered by brandonwillard
maxeeem asked this question in Q&A
Discussion options

You must be logged in to vote

There are a few other ways of which I can imagine right now, but they're all syntactical variations of the same thing. For example, you can write a simple Python function to generate all pairs of distinct logic variables and create neq goals for them.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maxeeem
Comment options

Answer selected by maxeeem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
CLP Constraint Logic Programming
2 participants
Converted from issue

This discussion was converted from issue #81 on September 20, 2023 18:47.