Re:Swift vs. Go
by tome on Saturday April 02, 2016 @04:45AM
(#11410782)
I believe the situation is that Dynamic only requires Typeable, and Typeable only requires unsafeCoerce plus the trust that bad instances are never created.
[ Parent
| on HN ]
> unsafeCoerce
GHC-specific implementation detail.
> the trust that bad instances are never created
The only way I can trust it is if the compiler enforces it, at which point it isn't “just a library feature”.