Modularising inductive families
Modularising inductive families
复制标题
模块化感应系列
DOI:
10.1145/2036918.2036921
复制
发表时间:
2011
期刊:
影响因子:
--
通讯作者:
Ko H
中科院分区:
文献类型:
--
作者:
Ko H
Dependently typed programmers are encouraged to use inductive families to integrate constraints with data construction. Different constraints are used in different contexts, leading to different versions of datatypes for the same data structure. Modular implementation of common operations for these structurally similar datatypes has been a longstanding problem. We propose a datatype-generic solution based on McBride's datatype ornaments [11], exploiting an isomorphism whose interpretation borrows ideas from realisability. Relevant properties of the operations are separately proven for each constraint, and after the programmer selects several constraints to impose on a basic datatype and synthesises an inductive family incorporating those constraints, the operations can be routinely upgraded to work with the synthesised inductive family.
登录
查看更多内容
DOI:
10.1007/11783596_12
发表时间:
2006-07
期刊:
--
影响因子:
--
作者:
J. Gibbons
通讯作者:
J. Gibbons
DOI:
--
发表时间:
2011
期刊:
Foundations of Software Science and Computation Structure
影响因子:
--
作者:
R. Atkey;Patricia Johann;Neil Ghani
通讯作者:
Neil Ghani
DOI:
--
发表时间:
2005
期刊:
影响因子:
--
作者:
Edwin C. Brady
通讯作者:
Edwin C. Brady
DOI:
--
发表时间:
1945
期刊:
Journal of Symbolic Logic (JSL)
影响因子:
--
作者:
S. Kleene
通讯作者:
S. Kleene
影响因子:
--
作者:
Chapman J
通讯作者:
Chapman J