[swift-evolution] [Draft] Apply -ed/-ing rule to core functional methods (e.g. filter => filtered)
dabrahams at apple.com
Mon Jun 20 16:27:00 CDT 2016
on Thu Jun 16 2016, Patrick Pijnappel <swift-evolution at swift.org> wrote:
>> -1, for the same reasons stated on the thread. These are neither
>> guaranteed to be mutating or non-mutating until you get to Collection.
>> Changing map() to mapped() would be lying to the developer some of the
>> time about the mutability of the interface.
> Actually the -ed/-ing suffix is *not *intended to guarantee
I beg to differ. “<noun>, <verb>ed” is still a noun phrase and as such
should not have side-effects, which rules out mutation.
More information about the swift-evolution