Conjunctive polymorphic type checking with explicit types
dc.contributor.author | Flannery, Kevin E. | en |
dc.contributor.committeechair | Martin, Johannes J. | en |
dc.contributor.committeecochair | Arthur, James D. | en |
dc.contributor.committeemember | Bixler, Patrick | en |
dc.contributor.committeemember | Farkas, Daniel R. | en |
dc.contributor.committeemember | Roach, John W. | en |
dc.contributor.department | Computer Science and Applications | en |
dc.date.accessioned | 2015-07-10T20:00:22Z | en |
dc.date.available | 2015-07-10T20:00:22Z | en |
dc.date.issued | 1989 | en |
dc.description.abstract | An expressive type language and the ability to do compile-time type inference are desirable goals in language design, but the attainment of the former may preclude the possibility of the latter. Specifically, the type conjunction operator (type intersection) induces a rich type language at the expense of decidability of the typeable expressions. Two extreme alternatives to this dilemma are to abandon type inference (and force the programmer to, essentially, supply a derivation for his type claims) or to abandon (or restrict) type conjunction. This work presents a third alternative in which the programmer, at times, may be required to supply explicit types in order for type inference to succeed. In this way, the power of conjunctive types is preserved, yet compile-time type inference can be done for a large class of polymorphic functions, including those typeable with parametric types. To this end, we introduce a simple combinator based language with typing rules based on type conjunction and a subtype relation, of sorts, called "weaker." The validity of the type rules with respect to the usual interpretation of "type" is shown, along with the undecidability of the type relation. It is shown how the computational portion of the language can be modified to accommodate explicit type information which may direct an automatic type derivation. This new language has the principal type property with respect to a decidable relation, although deciding this relation is shown to be an NP-Complete problem. The language is extended to accommodate type fixed points, and extended further to allow all expressions with parametric types to be typed automatically, and to accommodate integers, pairs, sums, and abstract types in the form of type generators. | en |
dc.description.degree | Ph. D. | en |
dc.format.extent | vi, 209 leaves | en |
dc.format.mimetype | application/pdf | en |
dc.identifier.uri | http://hdl.handle.net/10919/54527 | en |
dc.language.iso | en_US | en |
dc.publisher | Virginia Polytechnic Institute and State University | en |
dc.relation.isformatof | OCLC# 20316235 | en |
dc.rights | In Copyright | en |
dc.rights.uri | http://rightsstatements.org/vocab/InC/1.0/ | en |
dc.subject.lcc | LD5655.V856 1989.F637 | en |
dc.subject.lcsh | Programming languages (Electronic computers) | en |
dc.title | Conjunctive polymorphic type checking with explicit types | en |
dc.type | Dissertation | en |
dc.type.dcmitype | Text | en |
thesis.degree.discipline | Computer Science and Applications | en |
thesis.degree.grantor | Virginia Polytechnic Institute and State University | en |
thesis.degree.level | doctoral | en |
thesis.degree.name | Ph. D. | en |
Files
Original bundle
1 - 1 of 1