> On 5 Apr 2016, at 20:54, Dave Abrahams via swift-evolution
> <swift-evolution@swift.org> wrote:
>
> IMO this:
>
> (-9...0).reverse()
>
> is better than
>
> stride(from: 0, to: -10, by: -1)
>
> What do you think?
>
> --
> Dave
Are we absolutely certain that an operator could not be found such that (I use
`<` and `>` here for illustrative purposes only):
for i in 1...5 > 2 {
i // 1, 3, 5
}
for i in 1...5 < 2 {
i // 5, 3, 1
}
milos
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution