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
Allow symbolic conditions in rules:
@rule abs(~x) => ~x >= 0 ? ~x : -~x # In a Bool ruleset: @rule ~x >= 0 => isnonnegative(~x, @CTX) # isnonnegative returns Union{Bool, Nothing}
This should be lowered such that if the truth value of ~x >= 0 cannot be ascertained, then it would leave the input expression unchanged.
~x >= 0
We can potentially allow expressions with if conditions. Maybe just by adding an ifelse method.
ifelse
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Allow symbolic conditions in rules:
This should be lowered such that if the truth value of
~x >= 0
cannot be ascertained, then it would leave the input expression unchanged.We can potentially allow expressions with if conditions. Maybe just by adding an
ifelse
method.The text was updated successfully, but these errors were encountered: