<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="">Oops, I just realized I made some typos. &nbsp;Here it goes again with my typos corrected:<div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">I reviewed SetAlgebra quickly and I think it could conform to the guidelines better if it used the something like this:</div><div class=""><br class=""></div><div class=""><div class=""><font color="#669c35" face="Calibri" class="">// Non-mutable methods</font></div><div class=""><font face="Calibri, sans-serif" class="">let union = a.adding(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                                </span><font color="#669c35" face="Calibri" class="">// returns a ∪ b</font></div><div class=""><font face="Calibri, sans-serif" class="">let intersection = a.intersecting(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                </span><font color="#669c35" face="Calibri" class="">// returns a ∩ b</font></div><div class=""><font face="Calibri, sans-serif" class="">let difference = a.subtracting(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                </span><font color="#669c35" face="Calibri" class="">// returns a - b</font></div><div class=""><font face="Calibri, sans-serif" class="">let xor = a.xoring(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;"> </span><font face="Calibri, sans-serif" class="">&nbsp;</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                                        </span><font color="#669c35" face="Calibri" class="">// returns a △ b (a.k.a. "symmetric difference" or "exclusive or")</font></div><div class="" style="font-family: Calibri, sans-serif;"><br class=""></div><div class="" style="font-family: Calibri, sans-serif;"><font color="#669c35" class="">// Mutable methods (in-place)</font></div><div class="" style="font-family: Calibri, sans-serif;">a.add(b)</div><div class="" style="font-family: Calibri, sans-serif;">a.intersect(b)</div><div class="" style="font-family: Calibri, sans-serif;">a.subtract(b)</div><div class="" style="font-family: Calibri, sans-serif;">a.xor(b)</div><div class="" style="font-family: Calibri, sans-serif;"><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On Feb 2, 2016, at 11:40 AM, Ricardo Parada via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: 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;">Hi Dave,</div><div class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: 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;"><br class=""></div><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: 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="">Let me add the following to my ideas on union(). &nbsp;I actually reviewed SetAlgebra quickly and I think it could conform to the guidelines better if it used the following:</span><div class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: 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;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: 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;"><div class=""><font color="#669c35" face="Calibri" class="">// Non-mutable methods</font></div><div class=""><font face="Calibri, sans-serif" class="">let union = a.adding(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                                </span><font color="#669c35" face="Calibri" class="">// returns a ∪ c</font></div><div class=""><font face="Calibri, sans-serif" class="">let intersection = a.intersecting(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                </span><font color="#669c35" face="Calibri" class="">// returns a ∩ c</font></div><div class=""><font face="Calibri, sans-serif" class="">let difference = a.subtracting(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                </span><font color="#669c35" face="Calibri" class="">// returns a - b</font></div><div class=""><font face="Calibri, sans-serif" class="">let xor = a.xoring(b)</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;"> </span><font face="Calibri, sans-serif" class="">&nbsp;</font><span class="Apple-tab-span" style="font-family: Calibri, sans-serif; white-space: pre;">                                        </span><font color="#669c35" face="Calibri" class="">// returns a △ b (a.k.a. "symmetric difference" or "exclusive or")</font></div><div class="" style="font-family: Calibri, sans-serif;"><br class=""></div><div class="" style="font-family: Calibri, sans-serif;"><font color="#669c35" class="">// Mutable methods (in-place)</font></div><div class="" style="font-family: Calibri, sans-serif;">a.add(b)</div><div class="" style="font-family: Calibri, sans-serif;">a.intersect(b)</div><div class="" style="font-family: Calibri, sans-serif;">a.subtract(b)</div><div class="" style="font-family: Calibri, sans-serif;">a.xor(b)</div><div class="" style="font-family: Calibri, sans-serif;"><br class=""></div><div class="">Thanks</div></div></div></blockquote></div><br class=""></div></body></html>