ACM Home Page
Please provide us with feedback. Feedback
Colored local type inference
Full text PdfPdf (366 KB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 28th ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
London, United Kingdom
Pages: 41 - 53  
Year of Publication: 2001
ISBN:1-58113-336-7
Also published in ...
Authors
Martin Odersky  École Polytechnique Fédérale de Lausanne
Christoph Zenger  École Polytechnique Fédérale de Lausanne
Matthias Zenger
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): 12,   Downloads (12 Months): 61,   Citation Count: 13
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/360204.360207
What is a DOI?

ABSTRACT

We present a type system for a language based on F≤, which allows certain type annotations to be elided in actual programs. Local type inference determines types by a combination of type propagation and local constraint solving, rather than by global constraint solving. We re ne the previously existing local type inference system of Pierce and Turner[PT98] by allowing partial type information to be propagated. This is expressed by coloring types to indicate propagation directions. Propagating partial type information allows us to omit type annotations for the visitor pattern, the analogue of pattern matching in languages without sum types.


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.

 
ACF+
Andrew Appel, Luca Cardelli, Kathleen Fisher, Carl Gunter, Robert Harper, Xavier Leroy, Mark Lillibridge, David B. MacQueen, John Mitchell, Greg Morrisett, John H. Reppy, Jon G. Riecke, Zhong Shao, and Christopher A. Stone. Principles and preliminary design for ML 2000.
AW93
BOSW98
 
Car93
Luca Cardelli. An implementation of F< Technical Report 97, DEC Systems Research Center, February 1993.
CDG+92
 
CT98
Craig Chambers and Cecil Team. The Cecil language, specification and rationale, December 1998.
 
EST95
Jonathan Eifrig, Scott Smith, and Valery Trifonov. Type inference for recursively constrained types and its application to OOP. In Proc. MFPS '95, Eleventh Conference on the Mathematical Foundations of Programming Semantics, March 1995.
FG96
 
GHJV94
 
GR99
Jon97
 
Knu68
Donald E. Knuth. Semantics of context-free languages. Mathematical Systems Theory, 2(2):127-145, February 1968.
Lit98
 
Mey92
 
NC97
Johan Nordlander and Magnus Carlsson. Reactive objects in a functional language - an escape from the evil I. In Proceedings of the Haskell Workshop, June 1997.
Nor98
 
Ode00
OL96
 
OSW99
OW97
 
OZZ00
Martin Odersky, Christoph Zenger, and Matthias Zenger. Colored local type inference. http://lampwww.epfl.ch/papers/clti-color.ps.gz, 2000.
Pfe88
Pot96
Pot98
PT98
Rém89
 
Str91
 
TS96
Wad89
 
Wel94
J.B. Wells. Typability and type checking in the second order -calculus are equivalent and undecidable. In Proc. 9th IEEE Symposium on Logic in Computer Science, pages 176-185, July 1994.
 
WJ00
Keith Wansbrough and Simon Peyton Jones. Simple usage polymorphism. In Proceedings of the Third ACM SIGPLAN Workshop on Types in Compilation, September 2000.
XP99

CITED BY  13

Collaborative Colleagues:
Martin Odersky: colleagues
Christoph Zenger: colleagues
Matthias Zenger: colleagues