A specification for dependent types in Haskell
A specification for dependent types in Haskell
复制标题
Haskell 中依赖类型的规范
DOI:
10.1145/3110275
复制
发表时间:
2017
影响因子:
--
通讯作者:
Eisenberg, Richard A.
中科院分区:
文献类型:
--
作者:
Weirich, Stephanie;Voizard, Antoine;de Amorim, Pedro Henrique;Eisenberg, Richard A.
We propose a core semantics for Dependent Haskell, an extension of Haskell with full-spectrum dependent types. Our semantics consists of two related languages. The first is a Curry-style dependently-typed language with nontermination, irrelevant arguments, and equality abstraction. The second, inspired by the Glasgow Haskell Compiler's core language FC, is its explicitly-typed analogue, suitable for implementation in GHC. All of our results---chiefly, type safety, along with theorems that relate these two languages---have been formalized using the Coq proof assistant. Because our work is backwards compatible with Haskell, our type safety proof holds in the presence of nonterminating computation. However, unlike other full-spectrum dependently-typed languages, such as Coq, Agda or Idris, because of this nontermination, Haskell's term language does not correspond to a consistent logic.
登录
查看更多内容
DOI:
--
发表时间:
2013
期刊:
影响因子:
--
作者:
Adam Gundry
通讯作者:
Adam Gundry
DOI:
10.1007/978-3-662-49498-1_10
发表时间:
2016
期刊:
Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
影响因子:
--
作者:
R. Eisenberg;Stephanie Weirich;Hamidhasan G. Ahmed
通讯作者:
Hamidhasan G. Ahmed
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