Re: [swift-dev] Make offset index available for String

2017-12-14 Thread Wallacy via swift-dev
95% ASCII? Even if you forgot the rest of the World and consider only US this doesn’t seems right. But of course people (in the general) don’t care about Unicode Clusters. Because that, we should focus on keep Unicode string manipulation easy, instead just forget the Unicode rules. Em qui, 14 de

Re: [swift-dev] Request for review on Windows CMake changes

2017-12-12 Thread Wallacy via swift-dev
Has anyone considered the Bezel Build for swift? https://bazel.build/ Seems to address these problems. Em ter, 12 de dez de 2017 às 19:39, Saleem Abdulrasool via swift-dev < swift-dev@swift.org> escreveu: > On Sat, Dec 9, 2017 at 9:21 AM, David Zarzycki via swift-dev < > swift-dev@swift.org> wr

Re: [swift-dev] Forums for swift.org workgroup: looking for volunteers

2017-11-15 Thread Wallacy via swift-dev
I will be on vacation after December 1, so I will have some time to help if needed. Em qua, 15 de nov de 2017 às 21:39, Nicole Jacque via swift-dev < swift-dev@swift.org> escreveu: > As Ted Kremenek has previously announced, we are in the process of moving > the Swift mailing lists to Discourse. P

Re: [swift-dev] C-style For Loops

2015-12-19 Thread Wallacy via swift-dev
> > Why? > Because this works: var rangeA = -150.0..<150 for lat in rangeA.by(30) { print(lat) } And this not: var rangeC = -150..<150 for lat in rangeC.by(30) { // Error - Value of type 'Range' has no member 'by' print(lat) } I think this is expected to work, or not? If you make a e

Re: [swift-dev] SIL/crashes/004-swift-expr-getsourcerange.sil

2015-12-19 Thread Wallacy via swift-dev
Last commit: 696544a0003d43de824ead0b4ec9c19fda9a7553 (4 hours ago) Testing Time: 1838.83s Expected Passes: 2357 Expected Failures : 5 Unsupported Tests : 35 -- check-swift-macosx-x86_64 finished -- --- Finished tests for swift --- Em sáb, 19 de dez de 2015 às 16:47, Joseph Bell via

Re: [swift-dev] C-style For Loops

2015-12-19 Thread Wallacy via swift-dev
Curiously I was analyzing this part of the library a few minutes ago. It will probably be necessary to extend "Range": extension Range where Element: Strideable { func by(n: Element.Stride) -> StrideThrough { return startIndex.stride(through: endIndex, by: n) } } The first thing t