There's probably some additional work to do on the proposal document, but I 
would like to see coroutines in Swift too. The feature has been very successful 
in other languages like Python and C#, and unless I'm mistaken, work is being 
done to standardize it in C++.

Generators are one use case, but resumable functions in general can also be 
used to make async code look prettier.

Félix

> Le 22 déc. 2015 à 01:47:05, Susan Cheng via swift-evolution 
> <[email protected]> a écrit :
> 
> here is my proposal for swift lang
> 
> https://github.com/SusanDoggie/swift-evolution/blob/master/proposals/0018-coroutine-for-swift.md
>  
> <https://github.com/SusanDoggie/swift-evolution/blob/master/proposals/0018-coroutine-for-swift.md>
>  _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to