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

Matthew Johnson matthew at anandabits.com
Thu May 19 21:27:22 CDT 2016

>         * What is your evaluation of the proposal?

+1.  These functions are really handy.  The standard library should definitely include commonly useful utilities like these.

>         * Is the problem being addressed significant enough to warrant a change to Swift?

Yes.  It’s best to have these in the standard library rather than all creating our own versions.

>         * Does this proposal fit well with the feel and direction of Swift?


>         * If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?

I like that this proposal modifies the signature of `sequence(state:next:) to use `inout`.  The ability to do this is an advantage Swift has over functional languages.

>         * How much effort did you put into your review? A glance, a quick reading, or an in-depth study?

Quick reading, but also followed the discussions and the prior review.

> More information about the Swift evolution process is available at
>         https://github.com/apple/swift-evolution/blob/master/process.md <https://github.com/apple/swift-evolution/blob/master/process.md>
> Thank you,
> -Chris Lattner
> Review Manager
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
> -- 
> Trent Nadeau
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160519/2a88d8d4/attachment.html>

More information about the swift-evolution mailing list