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

Evaluate adding Else to comprehensions. #561

Closed
tkaitchuck opened this issue Sep 23, 2014 · 2 comments
Closed

Evaluate adding Else to comprehensions. #561

tkaitchuck opened this issue Sep 23, 2014 · 2 comments
Milestone

Comments

@tkaitchuck
Copy link

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.

@FroMage FroMage modified the milestone: 1.2 Sep 25, 2014
@FroMage
Copy link
Member

FroMage commented Sep 25, 2014

I think that's an issue for https:/ceylon/ceylon-spec/issues/new, can you reopen it there please?

@FroMage FroMage closed this as completed Sep 25, 2014
@FroMage FroMage modified the milestones: 1.1, 1.2 Sep 25, 2014
@gavinking
Copy link
Member

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants