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.
>
> 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
-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
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