ACM Home Page
Please provide us with feedback. Feedback
Polymorphism by name for references and continuations
Full text PdfPdf (1.16 MB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 20th ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
Charleston, South Carolina, United States
Pages: 220 - 231  
Year of Publication: 1993
ISBN:0-89791-560-7
Author
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 21,   Citation Count: 6
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/158511.158632
What is a DOI?

ABSTRACT

This article investigates an ML-like language with byname semantics for polymorphism: polymorphic objects are not evaluated once for all at generalization time, but re-evaluated at each specialization. Unlike the standard ML semantics, the by-name semantics works well with polymorphic references and polymorphic continuations: the naive typing rules for references and for continuations are sound with respect to this semantics. Polymorphism by name leads to a better integration of these imperative features into the ML type discipline. Practical experience shows that it retains most of the efficiency and predictability of polymorphism by value.


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
L. Cardelli. Typeful programming. In E. J. Neuhold and M. Paul, editors, Formal Description of Programming Concepts, pages 431-507. Springer-Verlag, 1989.
 
3
L. Damas. Type assignment in programming lan. guages. PhD thesis, University of Edinburgh, 1985.
4
 
5
M. Felleisen and D. P. Friedman. Control operators, the SECD machine and the ~-calculus. In Formal Description of Programming Concepts III, pages 131-141. North-Holland, 1986.
6
 
7
R. Harper and M. Lillibridge. ML with callcc is unsound. Message sent to the sral mailing list, July 1991.
 
8
R. Harper and M. Lillibridge. Polymorphic type assignment and CPS conversion. In 1992 SIC- PLAN Continuations Workshop, 1992.
9
 
10
X. Leroy. The ZINC experiment: an economical implementation of the ML language. Technical report 117, INRIA, 1990.
 
11
X. Leroy. Typage polymorphe d'un langage algorithmique. Doctoral dissertation (in French), Universit~ Paris 7, 1992.
 
12
X. Leroy and M. Mauny. The Caml Light system, version 0.5- documentation and user's guide. Technical report L-5, INRIA, 1992.
13
 
14
 
15
 
16
17
 
18
J.-P. Talpin and P. Jouvelot. The type and effect discipline. In Logic in Computer Science 1992. IEEE Computer Society Press, 1992.
 
19
 
20
 
21
A. K. Wright and M. Felleisen. A syntactic approach to type soundness. Technical report TR91- 160, Rice University, 1991.