<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 6, 2016, at 6:54 PM, Dave Abrahams via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">on Fri May 06 2016, Matthew Johnson <</span><a href="http://matthew-at-anandabits.com/" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">matthew-AT-anandabits.com</a><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">> wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""> On May 6, 2016, at 7:48 PM, Dave Abrahams via swift-evolution<br class=""> <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class=""> on Thu May 05 2016, Matthew Johnson <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class=""> On May 5, 2016, at 10:02 PM, Dave Abrahams<br class=""> <<a href="mailto:dabrahams@apple.com" class="">dabrahams@apple.com</a>> wrote:<br class=""><br class=""> on Thu May 05 2016, Matthew Johnson <<a href="http://matthew-at-anandabits.com" class="">matthew-AT-anandabits.com</a>> wrote:<br class=""><br class=""> On May 5, 2016, at 4:59 PM, Dave Abrahams<br class=""> <<a href="mailto:dabrahams@apple.com" class="">dabrahams@apple.com</a>> wrote:<br class=""><br class=""> on Wed May 04 2016, Matthew Johnson <<a href="http://matthew-at-anandabits.com" class="">matthew-AT-anandabits.com</a>> wrote:<br class=""><br class=""> On May 4, 2016, at 5:50 PM, Dave Abrahams via swift-evolution<br class=""> <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class=""> on Wed May 04 2016, Matthew Johnson<br class=""> <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class=""> On May 4, 2016, at 1:29 PM, Dave Abrahams via swift-evolution<br class=""> <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class=""> on Wed May 04 2016, Adrian Zubarev<br class=""> <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>><br class=""> wrote:<br class=""><br class=""> Not sure what to think about the enum cases inside a<br class=""> protocol (if AnyEnum would<br class=""> even exist), it could be a nice addition to the language, but<br class=""> this is an own<br class=""> proposal I guess.<br class=""><br class=""> We should start by adding AnyValue protocol to which all value<br class=""> types<br class=""> conforms.<br class=""><br class=""> Having a way to constrain conformance to things with value semantics<br class=""> is<br class=""> something I've long wanted. *However*, the approach described is too<br class=""> simplistic. It's possible to build classes whose instances have<br class=""> value<br class=""> semantics (just make them immutable) and it's possible to build<br class=""> structs<br class=""> whose instances have reference semantics (just put the struct's<br class=""> storage<br class=""> in a mutable class instance that it holds as a property, and don't<br class=""> do<br class=""> copy-on-write).<span class="Apple-converted-space"> </span><br class=""><br class=""> In order for something like AnyValue to have meaning, we need to<br class=""> impose<br class=""> greater order. After thinking through many approaches over the<br class=""> years, I<br class=""> have arrived at the (admittedly rather drastic) opinion that the<br class=""> language should effectively outlaw the creation of structs and enums<br class=""> that don't have value semantics. (I have no problem with the idea<br class=""> that<br class=""> immutable classes that want to act as values should be wrapped in a<br class=""> struct). The language could then do lots of things much more<br class=""> intelligently, such as correctly generating implementations of<br class=""> equality.<br class=""><br class=""> That is a drastic solution indeed! How would this impact things like<br class=""> Array<UIView>? While Array itself has value semantics, the aggregate<br class=""> obviously does not as it contains references which usually be mutated<br class=""> underneath us.<span class="Apple-converted-space"> </span><br class=""><br class=""> Value semantics and mutation can only be measured with respect to<br class=""> equality. The definition of == for all class types would be equivalent<br class=""> to ===. Problem solved.<br class=""><br class=""> Similar considerations apply to simpler wrapper structs such as Weak.<br class=""><br class=""> Same answer.<br class=""><br class=""> Hmm. If those qualify as “value semantic” then what kind of structs and<br class=""> enums<br class=""> would not? A struct wrapping a mutable reference type certainly doesn’t<br class=""> “feel”<br class=""> value semantic to me and certainly doesn’t have the guarantees usually<br class=""> associated with value semantics (won’t mutate behind your back, thread<br class=""> safe,<br class=""> etc).<br class=""><br class=""> Sure it does.<br class=""><br class=""> public struct Wrap<T: AnyObject> : Equatable {<br class=""> init(_ x: T) { self.x = x }<br class=""> private x: T<br class=""> }<br class=""><br class=""> func == <T>(lhs: Wrap<T>, rhs: Wrap<T>) -> Bool {<br class=""> return lhs.x === rhs.x<br class=""> }<br class=""><br class=""> I defy you to find any scenario where Wrap<T> doesn't have value<br class=""> semantics, whether T is mutable or not.<br class=""><br class=""> Alternately, you can look at the Array implementation. Array is a<br class=""> struct wrapping a mutable class. It has value semantics by virtue of<br class=""> CoW.<br class=""><br class=""> This goes back to where you draw the line as to the “boundary of the<br class=""> value”.<br class=""> Wrap and Array are “value semantic” in a shallow sense and are capable<br class=""> of deep<br class=""> value semantics when T is deeply value semantic.<span class="Apple-converted-space"> </span><br class=""><br class=""> No, I'm sorry; this “deep-vs-shallow” thing is a fallacy that comes from<br class=""> not understanding the boundaries of your value. Or, put more<br class=""> solicitously: sure, you can look at the world that way, but it just<br class=""> makes everything prohibitively complicated, so why would you want to?<br class=""><br class=""> In my world, there's no such thing as a “deep copy” or a “shallow copy;”<br class=""> there's just “copy,” which logically creates an independent version of<br class=""> everything up to the boundaries of the value. Likewise, there's no<br class=""> “deep value semantics” or “shallow value semantics.”<span class="Apple-converted-space"> </span><br class=""><br class=""> Equality defines<br class=""> value semantics, and the boundaries of an Array value always includes<br class=""> the values of its elements. The *only* problem here is that we have no<br class=""> way to do equality comparison on some arrays because some types aren't<br class=""> Equatable. IMO the costs of not having everything be equatable, in<br class=""> complexity-of-programming-model terms, are too high.<br class=""><br class=""> Thank you for clarifying the terminology for me. This is helpful.<span class="Apple-converted-space"> </span><br class=""><br class=""> I think I may have misunderstood what you meant by “boundary of the<br class=""> value”. Do<br class=""> you mean that the boundary of an Array value stops at the reference<br class=""> identity for<br class=""> elements with reference semantics?<span class="Apple-converted-space"> </span><br class=""><br class=""> Yes.<br class=""><br class=""> If you have an Array whose elements are of an immutable reference type<br class=""> that has value semantics would you say the boundary extends past the<br class=""> reference identity of an element and includes a definition of equality<br class=""> defined by that type?<br class=""><br class=""> Yes!<br class=""><br class=""> Are you arguing that reference types should be equatable by default,<br class=""> using<br class=""> equality of the reference if the type does not provide a custom<br class=""> definition of<br class=""> equality?<br class=""><br class=""> Yes!!<br class=""><br class=""> Both have their place, but the maximum benefit of value semantics<br class=""> (purity)<span class="Apple-converted-space"> </span><br class=""><br class=""> I don't know what definition of purity you're using. The only one I<br class=""> know of applies to functions and implies no side effects. In that<br class=""> world, there is no mutation and value semantics is equivalent to<br class=""> reference semantics.<br class=""><br class=""> I was using it in the sense of “PureValue” as discussed in this<br class=""> thread.<span class="Apple-converted-space"> </span><br class=""><br class=""> Sorry, this is the first mention I can find in the whole thread, honest.<br class=""> Oh, it was a different thread. Joe describes it as a protocol for<br class=""> “types that represent fully self-contained values,” which is just fuzzy<br class=""> enough that everyone reading it can have his own interpretation of what<br class=""> it means.<br class=""><br class=""> I was using it to mean values for which no *observable* mutation is<br class=""> possible (allowing for CoW, etc). Is there a better term for this than<br class=""> purity?<br class=""><br class=""> You're still not making any sense to me. A type for which no observable<br class=""> mutation is possible is **immutable**. The “write” part of<br class=""> copy-on-write is a pretty clear indicator that it's all about<br class=""> **mutation**. I don't see how they're compatible.<br class=""><br class="">Sorry, I did not write that very clearly. I should have said no observable<br class="">mutation *that happens behind your back*. In other words, the only *observable*<br class="">mutation possible is local.<span class="Apple-converted-space"> </span><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Yeah, but you need to ask the question, “mutation in what?” The answer:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">mutation in the value instance. Then you need to ask, “how do you</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">determine whether there was mutation?” </span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Immutability accomplishes this by simply prohibiting all<br class="">mutation. Primitive value types like Int and structs or enums that<br class="">only contain primitive value types accomplish this by getting copied<br class="">everywhere.<br class=""><br class="">Swift’s collections also accomplish this through copying, but only when the<br class="">elements they contain also have the same property.<span class="Apple-converted-space"> </span><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Only if you think mutable class instances are part of the value of the</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">array that stores references to those class instances. As I said</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">earlier, you can *take* that point of view, but why would you want to?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Today, we have left that question wide open, which makes the whole</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">notion of what is a logical value very indistinct. I am proposing to</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">close it.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">On the other hand, it is immediately obvious that non-local mutation<br class="">is quite possibly in the elements of a Swift Array<AnyObject> unless<br class="">they are all uniquely referenced.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">If you interpret the elements of the array as being *references* to</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">objects, there is no possibility of non-local mutation. If you</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">interpret the elements as being objects *themselves*, then you've got</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">problems.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>This does not make sense, because you’ve got problems either way. You are arguing, essentially, that everything is a value type because references/pointers are a value. If that were the case then the *only* valid way to compare the equality of types would be to compare their values. Overriding the equality operator would inherently violate the property of immutability, i.e. two immutable objects can change their equality even without mutation of their “values".</div><div><br class=""></div><div>func ==(lhs, rhs) {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>...</div><div>}</div><div><br class=""></div><div>class MyClass {</div><div> var a: Int</div><div> </div><div> ...</div><div><br class=""></div><div>} </div><div><br class=""></div><div>let x = MyClass(a: 5)</div><div>let y = MyClass(a: 5)</div><div><br class=""></div><div>x == y // true</div><div>y.a = 6</div><div>x == y // false</div><div><br class=""></div><div><blockquote type="cite" class=""> Are you arguing that reference types should be equatable by default,<br class=""> using<br class=""> equality of the reference if the type does not provide a custom<br class=""> definition of<br class=""> equality?<br class=""><br class=""> Yes!!</blockquote></div><div><br class=""></div><div>Custom definitions of equality, inherently, decouple immutability from equality, as shown above. Swift makes it appear as though references and values are on the same level in a way that C does not.</div><div><br class=""></div><div>let x = MyStruct()</div><div>let y = MyClass()</div><div><br class=""></div><div>x.myFoo</div><div>y.myFoo</div><div><br class=""></div><div>vs</div><div><br class=""></div><div>my_struct *x = …</div><div>my_struct y = …</div><div><br class=""></div><div>x.my_foo</div><div>y->my_foo</div><div><br class=""></div><div>With C it is explicit that you are crossing a reference. Thus there is only *one* type of equality in C, that the values *are equal*. This exactly the type of equality you are referring to, but this does not carry over to Swift for precisely the reason that Swift paves over the difference between value and reference types, and then allows you to redefine equality.</div><div><br class=""></div><div>Therefore, in essentially no circumstances does it make sense to compare a type by its reference if it has any associated data in Swift. Basically, if it will be commonplace to override the equality operator to compare the first level of associated values of a reference type, then the comparison of just the reference has no business being the default.</div><div><br class=""></div><div>If the default equality for reference types was defined as the equality of the references it would be inconsistent with the Swift’s current apparent surfacing of the first level of associated data for reference types.</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""> I think perhaps what you mean by “purity” is just, “has value<br class=""> semantics.” But I could be wrong.<br class=""><br class="">No, an array storing instances of reference types that are not immutable would<br class="">not be “pure” (or whatever you want to call it).<br class=""><br class=""> is derived from deep value semantics. This is when there is no<br class=""> possibility of shared mutable state. This is an extremely important<br class=""> property.<br class=""><br class=""> It's the wrong property, IMO.<br class=""><br class=""> Wrong in what sense?<span class="Apple-converted-space"> </span><br class=""><br class=""> Wrong in the sense that it rules out using things like Array that are<br class=""> logically value types but happen to be implemented with CoW, and if you<br class=""> have proper encapsulation there's no way for these types to behave as<br class=""> anything other than values, so it would be extremely limiting.<span class="Apple-converted-space"> </span><br class=""><br class="">I’m a big fan of CoW as an implementation detail. We have definitely been<br class="">miscommunicating if you thought I was suggesting something that would prohibit<br class="">CoW.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Then what, precisely, are the syntactic and semantic requirements of “PureValue?”</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div>I assume what is meant by "PureValue", is any object A, whose own references form a subgraph, within which a change to any of the values would constitute a change in the value of A (thus impermissible if A is immutable). Thus structs would quality as “PureValues”.</div><div><br class=""></div><div>I also assume that enforcing immutability on an object graph, via CoW or otherwise, would be unfeasible. You could enforce it on all values accessible by traversing a single reference for reference types, however.</div><div><br class=""></div><div>This is why I don’t really buy the argument that there is no such this as deep vs shallow copy. Deep copy means copying the whole “PureValue” or subgraph, shallow copy means traversing a single reference and copying all accessible values.</div><div> </div><blockquote type="cite" class=""><div class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""> I don’t mean to imply that it is the *only* valuable<br class=""> property. However, it I (and many others) do believe it is an extremely<br class=""> valuable<br class=""> property in many cases. Do you disagree?<br class=""><br class=""> I think I do. What is valuable about such a protocol? What generic<br class=""> algorithms could you write that work on models of PureValue but don't<br class=""> work just as well on Array<Int>?<br class=""><br class="">Array<Int> provides the semantics I have in mind just fine so there wouldn’t be<br class="">any. Array<AnyObject> is a completely different story. With<br class="">Array<AnyObject> you cannot rely on a guarantee the objects contained<br class="">in the array will not be mutated by code elsewhere that also happens<br class="">to have a reference to the same objects.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Okay then, what algorithms can you write that operate on PureValue that</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">don't work equally well on Array<AnyObject>?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""> let t = MyClass()<br class=""> foo.acceptWrapped(Wrap(t))<br class=""> t.mutate()<br class=""><br class=""> In this example, foo had better not depend on the wrapped instance not<br class=""> getting<br class=""> mutated.<br class=""><br class=""> foo has no way to get at the wrapped instance, so it can't depend on<br class=""> anything about it.<br class=""><br class=""> Ok, but this is a toy example. What is the purpose of Wrap? Maybe foo<br class=""> passes the<br class=""> wrapped instance back to code that *does* have visibility to the<br class=""> instance. My<br class=""> point was that shared mutable state is still possible here.<span class="Apple-converted-space"> </span><br class=""><br class=""> And my point is that Wrap<T> encapsulates a T (almost—I should have let<br class=""> it construct the T in its init rather than accepting a T parameter) and<br class=""> the fact that it's *possible* to code something with the structure of<br class=""> Wrap so that it has shared mutable state is irrelevant.<br class=""><br class="">The point I am trying to make is that the semantic properties of Wrap<T> depend<br class="">on the semantic properties of T (whether or not non-local mutation may be<br class="">observed in this case).<span class="Apple-converted-space"> </span><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">No they do not; Wrap<T> was specifically designed *not* to depend on the</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">semantic properties of T. This was in answer to what you said:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""> A struct wrapping a mutable reference type certainly doesn’t<br class=""> “feel” value semantic to me and certainly doesn’t have the<br class=""> guarantees usually associated with value semantics (won’t<br class=""> mutate behind your back, thread safe, etc).<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I have been trying to get you to nail down what you mean by PureValue,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">and I was trying to illustrate that merely being “a struct wrapping a</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">mutable reference type” is not enough to disqualify anything from being</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">in the category you're trying to describe. What are the properties of</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">types in that category, and what generic code would depend on those</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">properties?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">It certainly isn’t irrelevant to that point.<br class=""><br class=""> HTH,<br class=""><br class=""> My expectation is a generic aggregate such as Array would have to<br class=""> conditionally conform to AnyValue only when Element also conforms to<br class=""> AnyValue.<br class=""><br class=""> I’m also wondering how such a rule would be implemented while still<br class=""> allowing for CoW structs that *do* implement value semantics, but do<br class=""> so while using references internally.<br class=""><br class=""> I am not talking about any kind of statically-enforceable rule, although<br class=""> we could probably make warnings sophisticated enough to help with this.<br class=""><br class=""> You said the you have arrived at the opinion that the language should<br class=""> “effectively outlaw” structs and enums that do not have value semantics.<br class=""> That<br class=""> sounded like static enforcement to me.<span class="Apple-converted-space"> </span><br class=""><br class=""> The language outlaws certain kinds of inout aliasing without<br class=""> providing static enforcement. This is like that.<br class=""><br class=""> I did not know this. Now you have me curious. Can you give an example of<br class=""> where<br class=""> we are able to violate law? I ask mostly because it sounds like there is<br class=""> a<br class=""> possibility of stumbling into dangerous territory, possibly without<br class=""> being aware<br class=""> that you have done so.<br class=""><br class=""> See “In-out Parameters” in<br class=""> <a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Declarations.html#//apple_ref/doc/uid/TP40014097-CH34-ID362" class="">https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Declarations.html#//apple_ref/doc/uid/TP40014097-CH34-ID362</a><br class=""><br class=""> Maybe you meant we should allow the compiler to assume value semantics<br class=""> for structs and enums despite the fact that it doesn’t statically<br class=""> enforce this?<br class=""><br class=""> That would be one *consequence* of effectively outlawing it. The library<br class=""> could make similar assumptions.<br class=""><br class=""> If the compiler can be sophisticated enough to verify value semantics<br class=""> statically maybe it would be better to have that mechanism be<br class=""> triggered by conformance to AnyValue rather than for all structs and<br class=""> enums. Types that conform to AnyValue would receive the benefits of<br class=""> the compiler knowing they have value semantics, while other uses of<br class=""> structs and enums would remain valid. Best practice would be to<br class=""> conform structs and enums to AnyValue whenever possible.<br class=""><br class=""> Another possible advantage of this approach would be allowing<br class=""> immutable reference types to conform to AnyValue and receive the<br class=""> associated benefits such as the generated implementation of equality,<br class=""> etc.<br class=""><br class=""> -Matthew<br class=""><br class=""> --<span class="Apple-converted-space"> </span><br class=""> Dave<br class=""><br class=""> _______________________________________________<br class=""> swift-evolution mailing list<br class=""> <a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""><br class=""> _______________________________________________<br class=""> swift-evolution mailing list<br class=""> <a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""><br class=""> --<span class="Apple-converted-space"> </span><br class=""> Dave<br class=""><br class=""> _______________________________________________<br class=""> swift-evolution mailing list<br class=""> <a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""><br class=""> --<span class="Apple-converted-space"> </span><br class=""> Dave<br class=""><br class=""> --<span class="Apple-converted-space"> </span><br class=""> Dave<br class=""><br class=""> _______________________________________________<br class=""> swift-evolution mailing list<br class=""> <a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""><br class=""> --<span class="Apple-converted-space"> </span><br class=""> Dave<br class=""><br class=""> _______________________________________________<br class=""> swift-evolution mailing list<br class=""> <a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Dave</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">swift-evolution mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:swift-evolution@swift.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">swift-evolution@swift.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a></div></blockquote></div><br class=""></body></html>