> On 1 Jun 2016, at 12:35, Leonardo Pessoa <[email protected]> wrote: > > Unions have been discussed earlier in this group and I personally > think this is an issue better solved using function overloading.
Sorry, my intention wasn’t to debate them, I was just using them as an example of a specialised ad-hoc enum where compatibility isn’t an issue (because a union of the same types means the same thing everywhere you use it, which isn’t the case for general ad-hoc enums). _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
