4 ms·
Yeah, somewhat related to that; it's not currently possible to have typealias for a type with generic parameters, one has to wrap it in a struct or an enum, how
by AsyncAwait 11y ago
Yeah, somewhat related to that; it's not currently possible to have typealias for a type with generic parameters, one has to wrap it in a struct or an enum, however Swift is very much not done and they're catching up quickly, so I'm optimistic, especially now that we can see and affect what's coming next.
- melloclello 11y agoGeneric typealiases are coming, thank goodness: http://ericasadun.com/2016/03/08/generic-typealiases-are-a-thing/ http://ericasadun.com/2016/03/08/generic-typealiases-are-a-t...
- AsyncAwait 11y agoAwesome! This is what I'm talking about; now that Swift is open-source we can see which improvements have landed and what is coming next. Thanks for the link.