[swift-evolution] Quick question: Constraint Aliasing
david at hartbit.com
Fri May 12 04:49:20 CDT 2017
> On 12 May 2017, at 09:05, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> on Thu May 11 2017, David Hart <swift-evolution at swift.org> wrote:
>> I have the impression this would be simple enough because it would only live in the parser. But I'm
>> no expert.
> You would need some way to tell the compiler which associated type goes
> in the <>s.
I don’t think we are talking about associated types but only of generic arguments (Set, Array). But perhaps you’re going to say it’s a bad idea to promote (through a nicer syntax) writing generic algorithms over Array when they could be written against Sequence.
> swift-evolution mailing list
> swift-evolution at swift.org
More information about the swift-evolution