ACM Home Page
Please provide us with feedback. Feedback
Soft typing with conditional types
Full text PdfPdf (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
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 19,   Citation Count: 53
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/174675.177847
What is a DOI?

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
 
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
 
 
 
 
 
 
 
 
 
 
 
 
 

Collaborative Colleagues:
Alexander Aiken: colleagues
Edward L. Wimmers: colleagues
T. K. Lakshman: colleagues