We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for
It is common to define one-off rulesets and run them instantly for debugging purposes, e.g.,
(ruleset debug) (rule ((= e (__some_conditions__))) ((extract e) ;; some other stuffs ) :ruleset debug) (run debug 1)
This is tedious and may interrupt the debugging flow, so here I propose a convenient form of the above snippet:
(for ((= e (__some_conditions__))) ((extract e) ;; some other stuffs ))
(or more generally for running N iterations:
(for N ((= e (__some_conditions__))) ((extract e) ;; some other stuffs ))
)
The text was updated successfully, but these errors were encountered:
This does look useful
Perhaps we should have a little library of sugar you can import? We might want to draw a more explicit line between sugar and the egglog language
Sorry, something went wrong.
No branches or pull requests
It is common to define one-off rulesets and run them instantly for debugging purposes, e.g.,
This is tedious and may interrupt the debugging flow, so here I propose a convenient form of the above snippet:
(or more generally for running N iterations:
)
The text was updated successfully, but these errors were encountered: