Re: [swift-evolution] throws as returning a Result

2016-03-19 Thread Yuta Koshizawa via swift-evolution
2016-03-16 2:03 GMT+09:00 Joe Groff : > > On Mar 15, 2016, at 6:39 AM, Yuta Koshizawa wrote: > > 2016-03-15 2:23 GMT+09:00 Joe Groff : > > > Yeah, we extensively discussed adding a Result type internally, but > ultimately couldn't justify it. The only real use case we could see in the > wild was f

Re: [swift-evolution] throws as returning a Result

2016-03-15 Thread Joe Groff via swift-evolution
> On Mar 15, 2016, at 6:39 AM, Yuta Koshizawa wrote: > > 2016-03-15 2:23 GMT+09:00 Joe Groff : >> >> Yeah, we extensively discussed adding a Result type internally, but >> ultimately couldn't justify it. The only real use case we could see in the >> wild was for threading errors through CPS-inv

Re: [swift-evolution] throws as returning a Result

2016-03-15 Thread Yuta Koshizawa via swift-evolution
2016-03-15 2:23 GMT+09:00 Joe Groff : > > Yeah, we extensively discussed adding a Result type internally, but > ultimately couldn't justify it. The only real use case we could see in the > wild was for threading errors through CPS-inversion-style abstractions like > async promises, something we hop