Extensible records with scoped labels
Extensible records with scoped labels
复制标题
具有范围标签的可扩展记录
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
Daan Leijen
中科院分区:
文献类型:
--
作者:
Daan Leijen
Records provide a safe and flexible way to construct data structures. We describe a natural approach to typing polymorphic and extensible records that is simple, easy to use in practice, and straightforward to implement. A novel aspect of this work is that records can contain duplicate labels, effectively introducing a form of scoping over the labels. Furthermore, it is a fully orthogonal extension to existing type systems and programming languages. In particular, we show how it can be used conveniently with standard HindleyMilner, qualified types, and MLF.