计算机科学 > 程序设计语言
[提交于 2022年10月4日]
标题:Reflections on existential types
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Existential types are reconstructed in terms of small reflective subuniverses and dependent sums. The folklore decomposition detailed here gives rise to a particularly simple account of first-class modules as a mode of use of traditional second-class modules in connection with the modal operator induced by a reflective subuniverse, leading to a semantic justification for the rules of first-class modules in languages like OCaml and MoscowML. Additionally, we expose several constructions that give rise to semantic models of ML-style programming languages with both first-class modules and realistic computational effects, culminating in a model that accommodates higher-order first-class recursive modules and higher-order store.
提交历史
来自:Jonathan Sterling[v1] 2022年10月4日 星期二 00:00:00 UTC