|
ABSTRACT
We extend a fragment of the programming language Standard ML by incorporating a more general form of record pattern matching and providing for user-declared subtypes. Together, these two enhancements may be used to support a restricted object-oriented programming style. In keeping with the framework of Standard ML, we present typing rules for the language, and develop an efficient type inference algorithm. We prove that the algorithm is sound with respect to the typing rules, and that it infers a most general typing for every typable expression.
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.
| |
BL88
|
K. Bruce and G. Longo. A modest, model of records, inheritance and bounded quantification. In Third IEEE Syrup. Logic in Computer Science, page (to appear), 1988.
|
| |
Car84
|
|
| |
Coo87
|
W. Cook. A self-ish model of inheritance. Manuscript, 1987.
|
 |
CW85
|
|
| |
GR83
|
|
| |
Mil85
|
R. Milner. The stemdard ml core language. Polymorphism, 2(2), 1985. 28 pages. An earlier version appeared in Proc. 1984 ACM Syrup. on Lisp and Functional Programming.
|
 |
Mit84
|
|
| |
Rey80
|
|
 |
Rob65
|
|
 |
Sta88
|
|
| |
Str86
|
|
| |
Wan87
|
M. Wand. Complete type inference for simple objects. In Proc. 2-nd I~EE Syrup. on Logic in Computer Science, pages 37-44, 1987.
|
CITED BY 26
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
John Mitchell , Sigurd Meldal , Neel Madhav, An extension of standard ML modules with subtyping and inheritance, Proceedings of the 18th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.270-278, January 21-23, 1991, Orlando, Florida, United States
|
|
|
|
|
|
|
|
Peter Canning , William Cook , Walter Hill , Walter Olthoff , John C. Mitchell, F-bounded polymorphism for object-oriented programming, Proceedings of the fourth international conference on Functional programming languages and computer architecture, p.273-280, September 11-13, 1989, Imperial College, London, United Kingdom
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|