计算机科学 > 程序设计语言
[提交于 2009年12月24日]
标题:Typing rule-based transformations over topological collections
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Pattern-matching programming is an example of a rule-based programming style developed in functional languages. This programming style is intensively used in dialects of ML but is restricted to algebraic data-types. This restriction limits the field of application. However, as shown by Giavitto and Michel at RULE'02, case-based function definitions can be extended to more general data structures called topological collections. We show in this paper that this extension retains the benefits of the typed discipline of the functional languages. More precisely, we show that topological collections and the rule-based definition of functions associated with them fit in a polytypic extension of mini-ML where type inference is still possible.
提交历史
来自:Julien Cohen[v1] 2009年12月24日 星期四 15:27:18 UTC