Programming with ornaments
Programming with ornaments
复制标题
使用装饰品编程
DOI:
--
复制
发表时间:
2016
影响因子:
1.1
通讯作者:
J. Gibbons
中科院分区:
文献类型:
--
作者:
Hsiang;J. Gibbons
Abstract Dependently typed programming advocates the use of various indexed versions of the same shape of data, but the formal relationship amongst these structurally similar datatypes usually needs to be established manually and tediously. Ornaments have been proposed as a formal mechanism to manage the relationships between such datatype variants. In this paper, we conduct a case study under an ornament framework; the case study concerns programming binomial heaps and their operations — including insertion and minimum extraction — by viewing them as lifted versions of binary numbers and numeric operations. We show how current dependently typed programming technology can lead to a clean treatment of the binomial heap constraints when implementing heap operations. We also identify some gaps between the current technology and an ideal dependently typed programming language that we would wish to have for our development.
登录
查看更多内容
影响因子:
--
作者:
Chapman J
通讯作者:
Chapman J
影响因子:
--
作者:
McBride C
通讯作者:
McBride C
DOI:
10.1145/2036918.2036921
发表时间:
2011
期刊:
--
影响因子:
--
作者:
Ko H
通讯作者:
Ko H
影响因子:
--
作者:
Dagand P
通讯作者:
Dagand P