|
|
|
|
|
by masklinn
1990 days ago
|
|
> isn't generic Sets easily implemented with map being already generic? Since Go has neither generic functions nor generic typedefs you can't implement a Set with a generic key type on top of map, you have to reimplement all the set operations for each key type you use. |
|
Of course, if you need a concurrent set you're right back in type system hell.