[Returned for revision] SE-0516: Borrowing Sequence

Hello, Swift Evolution!

The review of SE-0516: Borrowing Sequence has concluded. Reviewers agreed with the motivation and the goals of the proposal, but raised several important concerns about the proposed solution. The Language Steering Group had decided the proposal is returned for revision to address the following points:

  • Several raised the concern that the proposal lacked clarity on the future evolution of BorrowingSequence or related APIs to support a broader range of use cases, such as ~Escapable elements, different lifetime constraints between the elements and the container that holds them, etc. The LSG believes this proposal should be reviewed in the context of the broader design direction(s) of generalized containers of ~Copyable types. That could be an extended future directions section, a vision document, or a roadmap — whichever the authors feel is most appropriate for communicating their thinking on the design space.
  • Reviewers also raised more specific points about API naming and considering whether BorrowingSequence should support throwing sequences.

Thank you to everyone who participated in the pitch and proposal review. Your contributions help make Swift a better language.

Holly Borla
Review Manager

6 Likes