Re:Why Generics?
by clhodapp on Wednesday July 31, 2019 @04:06PM
(#20577905)
Higher-kinded types. Generics that take generics as parameters. They allow things like writing a function that both takes and returns any container type you can map over with different (defined) element types. Given how hard arity-0 generics have been to get into Go, I suspect that the chances of HKT making it are slim to none (but I think that the grandparent knows that and is just being funny).
[ Parent
| on HN ]
There are no comments on this comment yet.