8 ms·
Type erasure has little to do with the power of generics at the language level. Haskell, with one of the most powerful type systems around, erases types to a gr
by tadfisher 4y ago
Type erasure has little to do with the power of generics at the language level. Haskell, with one of the most powerful type systems around, erases types to a greater extent than Java does (concrete types are still encoded in JVM bytecode, Haskell erases everything).