[swift-evolution] [proposal] Either in the Swift Standard Library
clattner at apple.com
Thu Jan 28 12:08:44 CST 2016
> On Jan 27, 2016, at 10:09 PM, Thorsten Seitz via swift-evolution <swift-evolution at swift.org> wrote:
> As an alternative to Either for expressing a sum type I'd like to throw real union types like Ceylon uses into the discussion.
> http://ceylon-lang.org/documentation/1.2/tour/types/ <http://ceylon-lang.org/documentation/1.2/tour/types/>
FWIW, this has been discussed before on swift-evolution. Adding them isn’t out of the question, but it is a lot more complicated than it looks for the type checker.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution