-
Notifications
You must be signed in to change notification settings - Fork 39
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
lang: remove for loop and case statement macros #413
lang: remove for loop and case statement macros #413
Conversation
There are better ways to do these sorts of things.
Bots r+ |
bors r+ |
Build succeeded: |
like what? is there a relevant discussion/motivation i can read? |
No, because there isn't a one to one replacement being considered. Considering the lack of any sort of working interfaces starting with something like enumerable or iterable would be big leap forward. As for case, start making them less limited from the start. Performance issues get mitigated in many situations here and elsewhere with some partial evaluation. |
i barely understand what are you trying to say here. im gonna have to ask more directly: why are for loop macros removed? |
Sorry, fat fingered the edit button at first. I don't want this or many other features in the language. The approach is:
|
okay, now i get it. |
It's useful to you, so it'd be helpful to capture some of the reasoning why here if you're up for sharing, thanks. #289 (comment) |
There are better ways to do these sorts of things.