[swift-evolution] ed/ing, InPlace, Set/SetAlgebra naming resolution

Craig Cruden ccruden at novafore.com
Thu Feb 11 13:05:59 CST 2016


I was thinking of maybe:

x.remove(x) for subtract (java mutable remove).  

> On 2016-02-12, at 2:00:41, Thorsten Seitz <tseitz42 at icloud.com> wrote:
> 
> Good idea!
> 
> -Thorsten
> 
> 
>> Am 11.02.2016 um 19:52 schrieb Craig Cruden <ccruden at novafore.com <mailto:ccruden at novafore.com>>:
>> 
>> or x.merge(x) for mutating union.
>> 
>>> On 2016-02-12, at 1:49:23, Thorsten Seitz via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>>> 
>>> I’d like to repeat my suggestion:
>>> 
>>> mutating (verbs):
>>> x.intersect(x)
>>> x.add(x)
>>> x.subtract(x)
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160212/91facb2b/attachment.html>


More information about the swift-evolution mailing list