|
ABSTRACT
In earlier work, we used a typed function calculus, XML, with dependent types to analyze several aspects of the Standard ML type system. In this paper, we introduce a refinement of XML with a clear compile-time/run-time phase distinction, and a direct compile-time type checking algorithm. The calculus uses a finer separation of types into universes than XML and enforces the phase distinction using a nonstandard equational theory for module and signature expressions. While unusual from a type-theoretic point of view, the nonstandard equational theory arises naturally from the well-known Grothendieck construction on an indexed category.
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.
| |
BL84
|
|
| |
BMM89
|
|
| |
C+86
|
R. L. Constable , S. F. Allen , H. M. Bromley , W. R. Cleaveland , J. F. Cremer , R. W. Harper , D. J. Howe , T. B. Knoblock , N. P. Mendler , P. Panangaden , J. T. Sasaki , S. F. Smith, Implementing mathematics with the Nuprl proof development system, Prentice-Hall, Inc., Upper Saddle River, NJ, 1986
|
| |
Car88
|
L. Cardelli. Phase distinctions in type theory. Manuse'ript, 1988.
|
| |
Gir71
|
J.-Y.. Girard. Une extension de l'interpretation de G6del ~ l'analyse, et son application k l'61imination des coupures'dans l'analyse et la th6orie des types. In j.E. Fenstad, editor, 2nd Scandinavian Logic Symposium, pages 63-92. North-Holland, 1971.
|
| |
Gir72
|
J.-Y. Girard. Interpretation fonctionelle et elimination des coupures de l'arithmetique d'ordre superieur. These D'Etat, Universite Paris VII, 1972.
|
| |
HMM86
|
R. Harper, D.B. MacQueen, and R. Milner. Standard ml. Technical Report ECS-LFCS-86-2, Lab. for Foundations of Computer Science, University of Edinburgh, March 1986.
|
| |
HMT87a
|
R. Harper, R. Milner, and M. Tofte. Tile semantics of standard ML. Technical Report ECS-LFCS-87-36, Lab. for Foundations of Computer Science, University of Edinburgh, August 1987.
|
| |
HMT87b
|
|
 |
Mac86
|
|
| |
Mar84
|
P. Martin-L6f. lntuitionistic Type Theory. Bibliopolis, Napoli, 1984.
|
 |
MH88
|
|
| |
Mog89a
|
|
| |
Mog89b
|
|
 |
MP88
|
|
| |
NPS88
|
B. Nordstrom, K. Peterson, and J. Smith. Programming in martin-16f's type theory. University of Gothenburg { Chalmers {nstitue of Technology, Book draft of Midsummer 1988.
|
| |
Rey74
|
|
| |
Tof87
|
M. Torte. Operational Semanlics and Polymorphic Type Inference. PhD thesis, University of Edinburgh, 198-/.
|
CITED BY 35
|
|
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
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|