-
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
Rules for unary functions, alway return tuple? #31
Comments
Everything will have to be a tuple once we start including the function itself |
Not if the method in question doesn't any arguments :P |
Right, anyway, I think we should always so a tuple. |
So AbstractRule actually always acts like it is a 1-tuple. But I don't love it at all. |
They currently return the rule, as opposed to a 1-tuple where the only element is the rule. This is inconsistent with n-ary functions, which return a tuple of rules, and makes writing code annoying. What would people's feelings towards changing this convention such that unary functions do in fact return a tuple of rules be?
The text was updated successfully, but these errors were encountered: