-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Allow operator definition syntax to be used for Python operators #675
Comments
Would that be made to interoperate with custom operators? Would, in a definition like operator ~~
def left ~~ right = dostuff(right) - dostuff(left)
class A:
def left ~~ right: dostuff(right) - left._optimised_dostuff() the operator defining function (line 2; or rather what it gets compiled down to) be able to first check for the existence of the operator method on |
Should compile
to
The text was updated successfully, but these errors were encountered: