|
ABSTRACT
If integer constants are added to the syntax of the pure lambda calculus, then primitive integer values have to be added to the underlying domain V of values. Unlike functions, primitive values should not be applied; we want a run-time error to occur if an attempt is made to apply them as functions. Expressions that might lead to run-time errors are separated out by imposing a “type” structure on expressions. A systematic model of types is developed, in which types are formalized as “ideals” (sets with a certain structure). Polymorphic functions are handled by introducing a quantifier for taking conjunctions of types. Operations for constructing new types from old lead to the consideration of higher-order or meta types, which are called “kinds” to avoid confusion with types. Finally, the semantic model of types is applied to show the soundness of a proof system for inferring the types of expressions.
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
|
M. Gordon , R. Milner , L. Morris , M. Newey , C. Wadsworth, A Metalanguage for interactive proof in LCF, Proceedings of the 5th ACM SIGACT-SIGPLAN symposium on Principles of programming languages, p.119-130, January 23-25, 1978, Tucson, Arizona
[doi> 10.1145/512760.512773]
|
| |
4
|
M. J. C. Gordon, "A note on the semantics of explicitly quantified polymorphic types," manuscript (1979).
|
| |
5
|
|
| |
6
|
A. R. Meyer, Personal communication, January 1982.
|
| |
7
|
R. Milner, "A theory of type polymorphism in programming," JCSS17(3), pp. 348-375 (December 1978).
|
| |
8
|
|
| |
9
|
D. S. Scott, "The lattice of flow diagrams," pp. 311-372 in Symposium on Semantics of Algorithmic Languages, ed. E. Engeler, Lecture Notes in Mathematics 188, Springer-Verlag, Berlin (1971).
|
| |
10
|
D. S. Scott, "Data types as lattices," SIAM J. Computing5(3), pp. 522-587 (September 1976).
|
| |
11
|
D. S. Scott, Personal communication, January 1982.
|
| |
12
|
|
| |
13
|
W. W. Wadge, Personal communication to R. Milner, March 1978.
|
| |
14
|
M. Wand, Personal communication, January 1982.
|
CITED BY 18
|
|
David MacQueen , Gordon Plotkin , Ravi Sethi, An ideal model for recursive polymorphic types, Proceedings of the 11th ACM SIGACT-SIGPLAN symposium on Principles of programming languages, p.165-174, January 15-18, 1984, Salt Lake City, Utah, United States
|
|
|
|
|
|
|
|
|
John Hughes , Lars Pareto , Amr Sabry, Proving the correctness of reactive systems using sized types, Proceedings of the 23rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.410-423, January 21-24, 1996, St. Petersburg Beach, Florida, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|