in theory the compiler itself could do that specia...
# announcements
m
in theory the compiler itself could do that specialisation. but i think generics specialisation is a feature kotlin should leave until Valhalla is close to finalised, as it wouldn't make sense for Kotlin to do something different to Java in this regard. That'd still not allow for arbitrary type classes, but it'd lay the groundwork for doing them C++ template style