> On Sep 2, 2016, at 9:55 AM, Nicholas Maccharoli via swift-evolution 
> <[email protected]> wrote:
> 
> Introduction
> 
> The aim of this proposal is to introduce clamp functionality to the swift 
> standard library. The clamp function would take a value and a upper and lower 
> bounds to clamp the value to, ensuring that the return value of the function 
> is within the range specified by the upper and lower bounds. Swift-evolution 
> thread: Discussion thread topic for that proposal 
> <https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160829/026748.html>
As others have pointed out, this is a purely additive change that is out of 
scope for Swift 4 stage 1.  We need to keep standard library work focused on 
things like String.

-Chris

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to