[swift-evolution] Feature proposal: Range operator with step

Erica Sadun erica at ericasadun.com
Wed Apr 6 15:38:56 CDT 2016


> On Apr 6, 2016, at 2:28 PM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> You if you need to represent `<..` intervals in scientific computing,
> that's a pretty compelling argument for supporting them.

From a purely numerically aesthetic point of view, I'd much prefer ranges to be 
openable and closable at both ends. 

My primary use-case has been teaching math using playgrounds but I'm sure 
there are lots of other real-world situations more specific to common numerical
method tasks.

-- E



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


More information about the swift-evolution mailing list