Re:Swift Programming Language Evolution
by jaegerpicker on Monday May 09, 2016 @02:24PM
(#11661959)
Sorry was generalizing. I meant generics and protocols in combination. The ability to define a protocol based on a generic would be fantastic. It's something that is solved in Haskell fairly well.
[ Parent
| on HN ]
Isn't that somewhat possible with extensions and constraints? At least that was the impression given by last year's WWDC talk [1], unless you're thinking of something else?