[swift-evolution] Either protocol syntax
antonyzhilin at gmail.com
Thu Feb 2 16:02:40 CST 2017
As a side note, some people want inline enum types with exact syntax of A|B.
The difference is that in this case the chosen side of inline enum is
always meaningful. That is, if S:A&B and x:S, then .0(x) as A|B ≠ .1(x) as
I guess, the version suggested by TS reflects what Chris considered
harmful. Those inline enums may be more feasible.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution