|
ABSTRACT
Standard ML includes a set of module constructs that support programming in the large. These constructs extend ML's basic polymorphic type system by introducing the dependent types of Martin Löf's Intuitionistic Type Theory. This paper discusses the problems involved in implementing Standard ML's modules and describes a practical, efficient solution to these problems. The representations and algorithms of this implementation were inspired by a detailed formal semantics of Standard ML developed by Milner, Tofte, and Harper. The implementation is part of a new Standard ML compiler that is written in Standard ML using the module system.
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
|
|
 |
2
|
|
| |
3
|
R.S. Boyer and J Moore, The sharing of structure in theorem-proving programs, Machine Intelligence 7, B. Meltzer and D. Michie, eds., Edinburgh University Press, 1972, 101-116.
|
 |
4
|
|
| |
5
|
R. Harper, D. MacQueen, and R. Milner, Standard ML, Laboratory for Foundations of Computer Science, Dept. of Computer Science, University of Edinburgh, ECS-LFCS-86-2, 1986. (Also Polymorphism II, 2, October 1985.)
|
| |
6
|
|
| |
7
|
R. Harper, R. Milner, and M. Tofte, The semantics of Standard ML, Version I, Laboratory for Foundations of Computer Science, Dept. of Computer Science, University of Edinburgh, ECS-LFCS-87-36, 1986.
|
 |
8
|
|
 |
9
|
|
| |
10
|
P. Martin-L~Sf, Constructive mathematics and computer programming, Sixth International Congress for Logic, Methodology, and Philosophy of Science, North Holland, Amsterdam, 1982, 153-175.
|
 |
11
|
|
| |
12
|
M. Torte, Operational Semantics and Polymorphic Type Inference, Ph.D. Dissertation, Dept. of Computer Science, University of Edinburgh, 1987.
|
| |
13
|
D.H.D. Warren, Implementing PROLOG - Compiling Predicate Logic Programs, Vol. I, Dept. of Artificial Intelligence Report No. 39, University of Edinburgh, 1977.
|
|