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

Fully support choice rules #322

Open
madmike200590 opened this issue Dec 15, 2021 · 0 comments
Open

Fully support choice rules #322

madmike200590 opened this issue Dec 15, 2021 · 0 comments

Comments

@madmike200590
Copy link
Collaborator

madmike200590 commented Dec 15, 2021

Currently, Alpha only supports choice expressions without bounds in rule heads.
Since #141 has meanwhile been implemented, we now have an easy means of performing the rewriting of choice heads specified in the standard using aggregates.

Note that, for an expression X { ... } Y, the standard seems to be happy with X and Y being arbitrary terms (including variables, arithmetic expressions, function terms, etc.). Since this doesn't seem to make any practical sense, I'd suggest to restrict bound terms for choice heads to type ConstantTerm<Integer>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant