arXiv · 0912.4877
Typing rule-based transformations over topological collections
Abstract
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.
Explore related subjects
Keep this discovery
Julien Cohen. 2009-12-24. Typing rule-based transformations over topological collections. https://doi.org/10.1016/s1571-0661(04)80676-5
Cite the original work for its findings. Save a collection to share your selection of sources.