Navigation Menu

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

[SR-7140] Implement generators and adopt them in the standard library #49688

Open
AnnaZaks mannequin opened this issue Mar 8, 2018 · 4 comments
Open

[SR-7140] Implement generators and adopt them in the standard library #49688

AnnaZaks mannequin opened this issue Mar 8, 2018 · 4 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@AnnaZaks
Copy link
Mannequin

AnnaZaks mannequin commented Mar 8, 2018

Previous ID SR-7140
Radar rdar://problem/38394646
Original Reporter @AnnaZaks
Type Bug
Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug
Assignee @jckarter
Priority Medium

md5: c79dbdfa06e78e31671bf781288f7a2d

relates to:

  • SR-4355 Update standard library to use memory ownership features

Issue Description:

This task is tracking addition of generator methods, which are a kind of co-routines used to conveniently implement iteration. See more details in the Ownership manifesto:

https://github.com/apple/swift/blob/master/docs/OwnershipManifesto.md

@AnnaZaks
Copy link
Mannequin Author

AnnaZaks mannequin commented Mar 8, 2018

@swift-ci create

1 similar comment
@bob-wilson
Copy link

@swift-ci create

@AnnaZaks
Copy link
Mannequin Author

AnnaZaks mannequin commented Jun 12, 2018

Move Only Types was a primary driver for adding generators before ABI stability lockdown. The following thread discusses alternatives for supporting move only types even if generators are not added in Swift 5 timeframe: https://forums.swift.org/t/preparing-the-iteration-abi-for-move-only-types/12980/3

@bob-wilson
Copy link

Yeah, we're not going to have time to implement generators in Swift 5.0

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant