Personally I don't think a completely, um, generic version of generics is
needed. But something like a list comprehension, possibly specifically
limited to "select"/"map" type comprehensions which do not change slice or
map length, would be invaluable. There's already a lot of special magic
a
We know how to deal with that without generics. But how would you define
generics to address that more elegantly than you would with already
available Go constructs (type assertions)?
Lucio.
On Saturday, 5 August 2017 01:48:28 UTC+2, T L wrote:
>
> A case:
>
> func iterateAndCopy(slice []T, p *