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

Erica Sadun erica at ericasadun.com
Wed Apr 6 13:01:17 CDT 2016


> On Apr 6, 2016, at 11:10 AM, Dave Abrahams <dabrahams at apple.com> wrote:
> Again, I wasn't trying to suggest any of the solutions listed there.
> The point I was making was that we don't have enough information to
> design more than
> 
>    (0..<200).striding(by: -2)

I like this a lot but I assure you there will be some pushback about readability of intent.

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


More information about the swift-evolution mailing list