Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle cyclic definitions #15

Open
fsvieira opened this issue Feb 13, 2018 · 0 comments
Open

Handle cyclic definitions #15

fsvieira opened this issue Feb 13, 2018 · 0 comments
Milestone

Comments

@fsvieira
Copy link
Owner

fsvieira commented Feb 13, 2018

There is already a test with cyclic definitions currently not active until a way to handle them is decided.

The normal way to handle cyclic definitions is not allowing cyclic definitions by ignoring them or just by throwing an error.

I would prefer to make it as a feature, and treat them as equivalent definitions.
For example x = 0 or x = 0 + 0, they are the same but not exactly equal to zebradb-core.

This is obviously a simple example, I came across cyclic definitions when I was trying to define propositional logical rules, I got cyclic definitions because a variable could be two things, but logically speaking it was correct, they work as reduction rules.

@fsvieira fsvieira added this to the Version 1.4.0 milestone Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant