[swift-evolution] Partial list of open Swift 3 design topics
Dmitri Gribenko
gribozavr at gmail.com
Tue Jun 28 23:15:14 CDT 2016
On Tue, Jun 28, 2016 at 3:49 PM, David Hart via swift-evolution
<swift-evolution at swift.org> wrote:
>
> On 28 Jun 2016, at 20:00, Douglas Gregor via swift-evolution
> <swift-evolution at swift.org> wrote:
>
> Well, *I* want to remove associated type inference because I feel that we
> shouldn’t have global inference like this in Swift. I am, however, concerned
> about the standard library’s ability to make conformances to the Collection
> protocols provide meaningful defaults for, e.g., the SubSequence associated
> type.
>
> - Doug
>
>
> I am also for removing associated type inference, and I guess if it needs to
> be done, its now. Concerning SubSequence, isn’t that supposed to be away
> post Swift-3 once we have some of the more powerful generics?
I'm not aware of any generics features that will allow us to remove SubSequence.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the swift-evolution
mailing list