|
ABSTRACT
We extend term unification techniques used to type extensible records in order to solve the two main typing problems for modules in Standard ML: matching and sharing. We obtain a type system for modules based only on well known unification problems, modulo some equational theories we define. Our formalization is simple and has the elegance of polymorphic type disciplines based on unification. It can be seen as a synthesis of previous work on module and record typing.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Maria Virginia Aponte. Typage d'un syst~me de modules paramdtriques avec partage: une application de l'unification dans les thdories dquationnelles. Th&se de doctorat, Universit~ de Paris 7, 1992.
|
| |
2
|
|
| |
3
|
|
 |
4
|
|
| |
5
|
David MacQueen. Modules for standard ML. Polymorphism Newsletter, iI, 1985.
|
| |
6
|
|
| |
7
|
|
| |
8
|
Didier R4my. Records and variants as a natural extension of ML. In Sixteenth Annual Symposium on Principles Of Programming Languages, 1989.
|
| |
9
|
Didier R@my. Algbres Touffues. Application au Typage Polymorphe des Objects Enregistrements dans les Langages Fonctionnels. Th~se de doctorat, Universit de Paris 7, 1990.
|
| |
10
|
Didier Rmy. Type inference for records in a natural extension of ML. Technical Report 1431, Inria, Rocquencourt, May 1991. Also in {Rem90}, chapter 4.
|
| |
11
|
Mads Tofte. Operational Semantics and Polymorphic Type Inference. PhD thesis, University of Edinburgh, 1987.
|
 |
12
|
|
| |
13
|
Mitchell Wand. Complete type inference for simple objects. In Second Symposium on Logic In Computer Science, 1987.
|
CITED BY 3
|
|
|
|
|
|
|
|
Xavier Leroy, Manifest types, modules, and separate compilation, Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.109-122, January 16-19, 1994, Portland, Oregon, United States
|
|