[知识点] Existential types

2016-01-04  本文已影响33人  NinthDay

原文出处

Let's explore existential types--these are types that are known to the component that produces them, but unknowable to the component that consumes them. Think about a hypothetical virtual machine that produces some compiled representation of some source code and it can then run the compiled code. In short, our VM compiles into type a that is unknown and unknowable to anything outside the VM; the only thing that the outside world knows is that it can take the value of type a and run it.

更多请点击原文出处

上一篇 下一篇

猜你喜欢

热点阅读