Skip to content
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

mixings ruby style #612

Open
arakov opened this issue Aug 25, 2023 · 2 comments
Open

mixings ruby style #612

arakov opened this issue Aug 25, 2023 · 2 comments
Labels
Design Idea New language feature
Milestone

Comments

@arakov
Copy link
Member

arakov commented Aug 25, 2023

mixings ruby style

@arakov arakov added the Design Idea New language feature label Aug 25, 2023
@bencz
Copy link
Member

bencz commented Aug 25, 2023

What exactly Ruby-style are you planning to bring?

@arakov
Copy link
Member Author

arakov commented Aug 25, 2023

It is inheriting the functionality without directly inheriting the class - https://culttt.com/2015/07/08/working-with-mixins-in-ruby.

In ELENA you can use extension method for this. But they are external ones and accessible only in compile-time.

@arakov arakov added this to the Backlog milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design Idea New language feature
Projects
None yet
Development

No branches or pull requests

2 participants