Y
Hacker News
new
|
ask
|
show
|
jobs
by
plorkyeran
636 days ago
Swift only got variadic generics fairly recently, and before that you couldn’t write code which was generic over tuple size. Instead you had to codegen versions for each size of tuple you needed to support.
1 comments
paperplatter
635 days ago
I think that was it. There was also something about tuples inside of dictionaries that Swift 1 or 2's compiler segfaulted on.
link