Re: [swift-evolution] async void

2017-11-09 Thread Nobuo Saito via swift-evolution
Hi, I have two opinion about async void function, 1. I think async(or sync) function should has a returning value even if type is void. ``` let result = await somethingAsyncVoid() ``` In this case the `result` will available when `someThingAsyncVoid` was completed. Someone can omit it, but it shou

Re: [swift-evolution] [draft] Introduce Sequence.filteredMap(_:)

2017-10-23 Thread Nobuo Saito via swift-evolution
Hi there, In my opinion, `map` vs `flatMap` confusing comes from implicitly casting `T` to `T?`. I believe it make many confusing and problems that compiler allow this implicitly casting. 1 way of solve this topic that show warning if use implicitly casting `T` to `T?`. Of course it should be expl