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

Kevin Ballard kevin at sb.org
Mon May 23 16:58:29 CDT 2016


On Mon, May 23, 2016, at 05:44 AM, Jeremy Pereira via swift-evolution wrote:
> 
> > On 19 May 2016, at 23:29, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
> > 
> > 
> > 	* What is your evaluation of the proposal?
> 
> +1
> 
> I think I would find myself using this in loads of places, if it was implemented.
> 
> One question: what is the downside of making these functions `rethrows` and allowing the closure to throw?

They wouldn't be lazy anymore.

-Kevin Ballard


More information about the swift-evolution mailing list