Notice
This is not the latest version of this item. The latest version can be found at:https://dspace.mit.edu/handle/1721.1/149247.2
What are principal typings and what are they good for?
dc.contributor.author | Jim, Trevor | en_US |
dc.date.accessioned | 2023-03-29T14:39:14Z | |
dc.date.available | 2023-03-29T14:39:14Z | |
dc.date.issued | 1995-08 | |
dc.identifier.uri | https://hdl.handle.net/1721.1/149247 | |
dc.description.abstract | We demonstrate the pragmatic value of the principal typing property, a property more general than ML's principal type property, by studying a type system with principal typings. The type system is based on rank 2 intersection types and is closely related to ML. Its principal typing property provides elegant support for separate compilation, including "smartest recompilation" and incremental type inference, and for accurate type error messages. Moreover, it motivates a novel rule for typing recursive definitions that can type many examples of polymorphic recursion. Type inference remains decidable; this is surprising, since type inference for ML plus polymorphic recursion is undecidable. | en_US |
dc.relation.ispartofseries | MIT-LCS-TM-532 | |
dc.title | What are principal typings and what are they good for? | en_US |