Re: [swift-evolution] Getting a list of protocol conformers

2016-11-17 Thread Greg Parker via swift-evolution
> On Nov 15, 2016, at 7:53 PM, Jonathan Hull via swift-evolution > wrote: > > I would like to be able to get, at runtime, an array of all types conforming > to a particular protocol. (Similarly, I would like to be able to get an > array of all subtypes of a given

Re: [swift-evolution] Getting a list of protocol conformers

2016-11-15 Thread Rick Mann via swift-evolution
+1. > On Nov 15, 2016, at 19:53 , Jonathan Hull via swift-evolution > wrote: > > I would like to be able to get, at runtime, an array of all types conforming > to a particular protocol. (Similarly, I would like to be able to get an > array of all subtypes of a

[swift-evolution] Getting a list of protocol conformers

2016-11-15 Thread Jonathan Hull via swift-evolution
I would like to be able to get, at runtime, an array of all types conforming to a particular protocol. (Similarly, I would like to be able to get an array of all subtypes of a given type). Is this in the generics manifesto? If not, can it be added? What is the timeframe? It seems to me,