[swift-evolution] [Accepted with Revision] SE-0094: Add sequence(initial:next:) and sequence(state:next:) to the stdlib

Chris Lattner clattner at apple.com
Wed May 25 21:44:24 CDT 2016


Proposal Link: https://github.com/apple/swift-evolution/blob/master/proposals/0094-sequence-function.md

The review of "SE-0094: Add sequence(initial:next:) and sequence(state:next:) to the stdlib" ran from May 19…23, 2016. The proposal has been *accepted* with one minor naming-related change:

- Feedback from the community & core team is positive.
- Core team discussed whether it made sense to add just the first form, or whether it made sense to add both.  They agree that although the form using an explicit state is much more infrequently used, when it is necessary, it is extremely helpful to have.  It is also useful to consider both as a pair. 
- On naming, the core team agrees with the community that “sequence(first:next:)” is a better name than "sequence(initial:next:)”.  "sequence(state:next:)” is approved as-is.

Thank you to Kevin Ballard and Erica Sadun for proposing this both in SE-0045 and in SE-0094, an implementation of these functions would be welcome!  

-Chris Lattner
Review Manager



More information about the swift-evolution mailing list