[swift-evolution] [proposal] Either in the Swift Standard Library

Erica Sadun erica at ericasadun.com
Fri Jan 29 11:13:25 CST 2016


> On Jan 29, 2016, at 9:53 AM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
> on Thu Jan 28 2016, Craig Cruden <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> 
>> So to summarize….
>> 
>> Either is too specialized and thus not a good add…
> 
> I would say the opposite; what most people think of as Either is not
> specialized enough, because it has no concrete semantics attached.

+1.

Result has a specific compelling use-case in threaded completion blocks.

-- E


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160129/582cb2be/attachment.html>


More information about the swift-evolution mailing list