-
Notifications
You must be signed in to change notification settings - Fork 57
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
Evaluate adding Else to comprehensions. #561
Milestone
Comments
I think that's an issue for https:/ceylon/ceylon-spec/issues/new, can you reopen it there please? |
No, no need to open anything new, it would be a dupe of ceylon/ceylon-spec#503. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today comprehensions only allow: For, If, and expressions.
Obviously there are lots of things that could theoretically be added. In the extreme case they could be made into full blown coroutines which would have the full power of the language.
But assuming that is either, not feasible, or a long way off, supporting if/else in addition to just if would go a long way to expanding their power.
The text was updated successfully, but these errors were encountered: