2 ms·
You can do that in Haskell so it's not a problem of type erasure (last time I checked, GHC type-erases generics by default). It's a problem more specific to Jav
by masklinn 8y ago
You can do that in Haskell so it's not a problem of type erasure (last time I checked, GHC type-erases generics by default). It's a problem more specific to Java's generics implementation.
- whateveracct 8y agoJava reflection is what’s broken not its generics. It does generics correctly by erasing - that’s the proven state-of-the-art :)