-
Notifications
You must be signed in to change notification settings - Fork 198
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
Convert basic operators #43
Comments
Continuing conversation from #89, I believe this conversion can be added by:
|
This would be great. Since they were outside of class/struct in swift I just went for a simple hack, but this would be clean and perfect. Maybe you do it? |
Yeah, it is in the scope of changes I want to make, but to be honest, it has been open for more than 1 year already. I am not finding all the time I would like to implement all the issues (and the list is long). So yes, I hope I will eventually implement it myself but I can not promise when. If this is important for you, please let me know so I will try to prioritize over others |
I can work my way through all other changes first. Can always do a pull request and see if I can do it how you want too if it gets to that, but no hurry yet.
tor
… On 8 Feb 2019, at 12:52, Angel G. Olloqui ***@***.***> wrote:
Yeah, it is in the scope of changes I want to make, but to be honest, it has been open for more than 1 year already. I am not finding all the time I would like to implement all the issues (and the list is long). So yes, I hope I will eventually implement it myself but I can not promise when.
If this is important for you, please let me know so I will try to prioritize over others
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#43 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB-irn0eSYgbstGC7uq9SlXP81naynb6ks5vLWT1gaJpZM4QgO2d>.
|
Swift allows for custom operators. In Kotlin, operators are restricted to:
https://kotlinlang.org/docs/reference/operator-overloading.html
Transform the operators that have a Kotlin counterpart. Example:
Translates to:
The text was updated successfully, but these errors were encountered: