-
Notifications
You must be signed in to change notification settings - Fork 62
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
Missing feature: generic predicate constructors #36
Comments
No fundamental reason; we just haven't needed it so far. Note that in some cases, a workaround is to use a block-local predicate (which can be in the scope of a type parameter of the enclosing function). |
How hard would it be to implement such a feature? |
I think we need type reification (#125) for this to be sound. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, it seems natural to have generic
predicate_ctor
as most of the other constructs in the annotation language. E.g. to define this kind of predicate constructors:this does not work: Parse error.
Is there a fundamental reason why it is not supported?
P.S. It does not disturb me much, as, unless the predicate is not recursive, I can embed it directly.
The text was updated successfully, but these errors were encountered: