-
Notifications
You must be signed in to change notification settings - Fork 123
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
More predicate operators #400
Comments
I'm not sure what you mean; are you talking about something analogous to |
Maybe this is a documentation limitation, or maybe there's an ambiguity issue I hadn't considered. It'd be nice to write a type like
|
If we add the constraint synonyms that Brian suggested (which mostly requires us to pick a syntax, I think), we could just add synonyms for these to the Prelude. For example:
|
This could be accomplished with the proposed "constraint synonyms" feature (#373), if we extend it to allow infix operators. |
Pull request #627 will make it possible to add these definitions to the Cryptol prelude:
|
I would like to see syntactic sugar to allow all comparison operators (<, >, <=) in predicates
The text was updated successfully, but these errors were encountered: