A role for dependent types in Haskell
A role for dependent types in Haskell
复制标题
Haskell 中依赖类型的角色
DOI:
10.1145/3341705
复制
发表时间:
2019
影响因子:
--
通讯作者:
Eisenberg, Richard A.
中科院分区:
文献类型:
--
作者:
Weirich, Stephanie;Choudhury, Pritam;Voizard, Antoine;Eisenberg, Richard A.
Modern Haskell supportszero-costcoercions, a mechanism where types that share the same run-time representation may be freely converted between. To make sure such conversions are safe and desirable, this feature relies on a mechanism ofrolesto prohibit invalid coercions. In this work, we show how to incorporate roles into dependent types systems and prove, using the Coq proof assistant, that the resulting system is sound. We have designed this work as a foundation for the addition of dependent types to the Glasgow Haskell Compiler, but we also expect that it will be of use to designers of other dependently-typed languages who might want to adopt Haskell’s safe coercions feature.
登录
查看更多内容
DOI:
10.1145/199448.199475
发表时间:
1995
期刊:
Proceedings of the 22nd annual ACM SIGPLAN conference on Object-oriented programming systems, languages and applications
影响因子:
--
作者:
R. Harper;G. Morrisett
通讯作者:
G. Morrisett
DOI:
--
发表时间:
2013
期刊:
影响因子:
--
作者:
Adam Gundry
通讯作者:
Adam Gundry
DOI:
--
发表时间:
1986
期刊:
影响因子:
--
作者:
L. Cardelli
通讯作者:
L. Cardelli
DOI:
10.1109/lics.2001.932499
发表时间:
2001
期刊:
Proceedings 16th Annual IEEE Symposium on Logic in Computer Science
影响因子:
--
作者:
F. Pfenning
通讯作者:
F. Pfenning
DOI:
--
发表时间:
2001
期刊:
影响因子:
--
作者:
Alexandre Miquel
通讯作者:
Alexandre Miquel