|
|
|
|
|
by millstone
4021 days ago
|
|
I don't think this is the same. `Dynamic` is an object along with its reified type. Now consider a dynamically typed function that returns either a String or an Int, according to a Bool parameter. This function ought to be statically type-able as Bool->String OR Bool->Int. It does not have a single static type, so it cannot be represented as `Dynamic`. |
|
http://www.cs.colorado.edu/~siek/pubs/pubs/2006/siek06:_grad...