Also, notice the consistency keyword: throw, return type marker: throws (‘monadic’ Result<T>) keyword: yield, return type marker: yields (‘monadic’ Future<T>)
-g. > On 19 Aug 2017, at 1:23 PM, Georgios Moschovitis via swift-evolution > <[email protected]> wrote: > > I am wondering, am I the only one that *strongly* prefers `yield` over > `await`? > > Superficially, `await` seems like the standard term, but given the fact that > the proposal is about coroutines, I think `yield` is actually the proper > name. Also, subjectively, it sounds much better/elegant to me! > > -g. > _______________________________________________ > 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
