> On 6 Apr 2016, at 19:16, Dave Abrahams via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> We prefer methods to free functions.

However, `(from:to:by)` need not be a free function, it could be a sequence 
initialiser:

    Walk(from: 200, to: 0, by: 2)

or:

    Steps(from: 200, to: 0, by: 2)

or something along those lines...

milos
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to