Just another -1. While I appreciated it in Ruby, I don't think it belongs in
the Swift standard library at this time. If closures could be annotated as
break/continue-able, and if the standard library started grew a lot—as Ruby's
did—then maybe (I'd prefer the former and hold off on the latter, though).
In the meantime, "repeat 5 { /* do something */ }" seems better to me.
Stephen
> On Dec 20, 2015, at 9:32 PM, T.J. Usiyan via swift-evolution
> <[email protected]> wrote:
>
> -1 from me. It is simple enough for an extension and provides little benefit
> as a standard library inclusion.
>
> On Sun, Dec 20, 2015 at 9:10 PM, Howard Lovatt via swift-evolution
> <[email protected] <mailto:[email protected]>> wrote:
> +1 to 5.times{stuff} from me. I much prefer library functions to language
> extensions.
>
> -- Howard.
>
> _______________________________________________
> swift-evolution mailing list
> [email protected] <mailto:[email protected]>
> https://lists.swift.org/mailman/listinfo/swift-evolution
> <https://lists.swift.org/mailman/listinfo/swift-evolution>
>
>
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution