Refining Inductive Types
Refining Inductive Types
复制标题
精炼感应类型
DOI:
--
复制
发表时间:
2012
期刊:
影响因子:
--
通讯作者:
Neil Ghani
中科院分区:
文献类型:
--
作者:
R. Atkey;Patricia Johann;Neil Ghani
Dependently typed programming languages allow sophisticated properties of data to be expressed within the type system. Of particular use in dependently typed programming are indexed types that refine data by computationally useful information. For example, the N-indexed type of vectors refines lists by their lengths. Other data types may be refined in similar ways, but programmers must produce purpose-specific refinements on an ad hoc basis, developers must anticipate which refinements to include in libraries, and implementations must often store redundant information about data and their refinements. In this paper we show how to generically derive inductive characterizations of refinements of inductive types, and argue that these characterizations can alleviate some of the aforementioned difficulties associated with ad hoc refinements. Our characterizations also ensure that standard techniques for programming with and reasoning about inductive types are applicable to refinements, and that refinements can themselves be further refined.
登录
查看更多内容
影响因子:
--
作者:
Chapman J
通讯作者:
Chapman J
影响因子:
1.1
作者:
Altenkirch, Thorsten;Ghani, Neil;Morris, Peter
通讯作者:
Morris, Peter
DOI:
10.1145/2036918.2036921
发表时间:
2011
期刊:
--
影响因子:
--
作者:
Ko H
通讯作者:
Ko H
影响因子:
--
作者:
Dagand P
通讯作者:
Dagand P