| Soft typing with conditional types |
| Full text |
Pdf
(1.15 MB)
|
| Source
|
Annual Symposium on Principles of Programming Languages
archive
Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
table of contents
Portland, Oregon, United States
Pages: 163 - 173
Year of Publication: 1994
ISBN:0-89791-636-0
|
|
Authors
|
|
Alexander Aiken
|
Computer Science Division, University of California at Berkeley, Berkeley, CA and IBM Almaden Research Center 650 Harry Rd., San Jose, CA
|
|
Edward L. Wimmers
|
IBM Almaden Research Center, 650 Harry Rd., San Jose, CA
|
|
T. K. Lakshman
|
Department of Computer Science, University of Illinois at Urbana-Champaign, 1304 W. Springfield Ave, Urbana, IL
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 2, Downloads (12 Months): 19, Citation Count: 53
|
|
|
ABSTRACT
We present a simple and powerful type inference method for dynamically typed languages where no type information is supplied by the user. Type inference is reduced to the problem of solvability of a system of type inclusion constraints over a type language that includes function types, constructor types, union, intersection, and recursive types, and conditional types. Conditional types enable us to analyze control flow using type inference, thus facilitating computation of accurate types. We demonstrate the power and practicality of the method with examples and performance results from an implementation.
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
|
|
 |
4
|
|
| |
5
|
BACKUS, J., WILLIAMS, J. H., WIMMERS, E. L., LU- CAS, P., AND AIKEN, A. The FL language manual parts I and 2. Tech. Rep. RJ 7100 (67163), IBM, 1989.
|
 |
6
|
|
 |
7
|
|
 |
8
|
|
| |
9
|
|
 |
10
|
|
| |
11
|
|
 |
12
|
|
 |
13
|
|
| |
14
|
KOZEN, D., PALSBERG, J., AND SCHWARTZBACH, M. I. Efficient inference of partial types. In Foundations of Computer Science (Oct. 1992), pp. 363-371.
|
 |
15
|
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
[doi> 10.1145/800017.800528]
|
| |
16
|
MILNER, R. A theory of type polymorphism in programming. J. Comput. Syst. Sci. 17 (1978), 348-375.
|
 |
17
|
|
 |
18
|
|
| |
19
|
REYNOLDS, J. C. Automatic Computation of Data Set Definitions. Information Processing 68. North-Holland, 1969, pp. 456-461.
|
 |
20
|
|
| |
21
|
|
| |
22
|
TOFTE, M. Operational Semantics and Polymorphic Type Inference. PhD thesis, University of Edinburgh, 1987.
|
 |
23
|
|
CITED BY 53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sam Tobin-Hochstadt , Matthias Felleisen, Interlanguage migration: from scripts to programs, Companion to the 21st ACM SIGPLAN conference on Object-oriented programming systems, languages, and applications, October 22-26, 2006, Portland, Oregon, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mark Shields , Tim Sheard , Simon Peyton Jones, Dynamic typing as staged type inference, Proceedings of the 25th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.289-302, January 19-21, 1998, San Diego, California, United States
|
|
|
|
|
|
Zhendong Su , Manuel Fähndrich , Alexander Aiken, Projection merging: reducing redundancies in inclusion constraint graphs, Proceedings of the 27th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.81-95, January 19-21, 2000, Boston, MA, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|