Soft typing with conditional types

126Citations
Citations of this article
44Readers
Mendeley users who have this article in their library.

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 tot he 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.

Cite

CITATION STYLE

APA

Aiken, A., Wimmers, E. L., & Lakshman, T. K. (1994). Soft typing with conditional types. In Conference Record of the Annual ACM Symposium on Principles of Programming Languages (pp. 163–173). Publ by ACM. https://doi.org/10.1145/174675.177847

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free