News for hackers. Stuff that matters.
Re:Type erasure and reification by int_19h on Wednesday December 05, 2018 @05:09PM (#18613152)
It depends on whether you're looking at it from the implementation perspective, or from language user perspective. To the implementation, a dictionary carrying type information (or anything derived from that, such as e.g. method dispatch tables) at runtime is type reification.
Re:Type erasure and reification by 0db532a0 on Wednesday December 05, 2018 @06:51PM (#18613975)
The concept of reification exists only in the context of a chosen language and its universe of objects, and it doesn't extend to the language's implementation. Given the language Haskell and its universe of objects, Data.Typeable provides a reification of Haskell's types into physical objects inside that universe. The type class dictionaries are not physical objects inside this universe.