Re: [swift-evolution] [Discussion] Static methods as global functions

2017-03-10 Thread Tony Allevato via swift-evolution
On Fri, Mar 10, 2017 at 6:18 AM Haravikk via swift-evolution < swift-evolution@swift.org> wrote: > So the topic of global functions like min/max came up on the thread about > adding a standard clamp method, and it got me to thinking whether there was > a better way to define most global methods. >

Re: [swift-evolution] [Discussion] Static methods as global functions

2017-03-10 Thread Haravikk via swift-evolution
> On 10 Mar 2017, at 13:36, Derrick Ho wrote: > > -1 Thanks for being so specific in a discussion thread 🤔 ___ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution

Re: [swift-evolution] [Discussion] Static methods as global functions

2017-03-10 Thread Derrick Ho via swift-evolution
-1 On Fri, Mar 10, 2017 at 6:18 AM Haravikk via swift-evolution < swift-evolution@swift.org> wrote: > So the topic of global functions like min/max came up on the thread about > adding a standard clamp method, and it got me to thinking whether there was > a better way to define most global methods

[swift-evolution] [Discussion] Static methods as global functions

2017-03-10 Thread Haravikk via swift-evolution
So the topic of global functions like min/max came up on the thread about adding a standard clamp method, and it got me to thinking whether there was a better way to define most global methods. Currently for example there are two global functions min and max; very useful, and don't make much se