Re: [swift-dev] [swift-evolution] Re-pitch: Deriving collections of enum cases

2017-12-09 Thread Jonathan Hull via swift-evolution via swift-dev
> On Nov 14, 2017, at 9:06 PM, Brent Royal-Gordon via swift-dev > wrote: > >> On Nov 14, 2017, at 5:21 PM, Xiaodi Wu > > wrote: >> >> 1. It must be possible to easily access the count of values, and to access >> any particular value using contiguous `Int` indices.

Re: [swift-dev] [swift-evolution] Re-pitch: Deriving collections of enum cases

2017-12-09 Thread Jonathan Hull via swift-dev
> On Nov 14, 2017, at 9:06 PM, Brent Royal-Gordon via swift-dev > wrote: > >> On Nov 14, 2017, at 5:21 PM, Xiaodi Wu > > wrote: >> >> 1. It must be possible to easily access the count of values, and to access >> any particular value using contiguous `Int` indices.

Re: [swift-dev] Getting started with lib/Syntax

2017-12-09 Thread Faiçal Tchirou via swift-dev
I’m also interested in this. Anything I can do to help so Swift devs can focus on more important problems? Thanks, Faiçal On Thu, 7 Dec 2017 at 00:24, Yurii Samsoniuk via swift-dev < swift-dev@swift.org> wrote: > I have some spare time and I want to do something for Swift. I’m > interested in lib

Re: [swift-dev] [swift-evolution] Re-pitch: Deriving collections of enum cases

2017-12-09 Thread Karl Wagner via swift-dev
Personally, I think this dovetails quite nicely with the ‘random’ discussion. Enums are just one kind of type with a finite set of values; Int and Bool also fit that description, as may many structs and even classes. Having a general way to express that would be quite nice, IMO. - Karl > On 9.

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

2017-12-09 Thread David Zarzycki via swift-dev
Can somebody please also speak up to why Windows needs to remove the "-Wl,-z,defs” from CXX_FLAGS? At the very least, I’d like to see the project-wide removal of this useful flag limited to just the Windows builds. > On Dec 8, 2017, at 20:36, Thomas Roughton via swift-dev > wrote: > > Hi all,