ACM Home Page
Please provide us with feedback. Feedback
Simple, partial type-inference for System F based on type-containment
Full text PdfPdf (398 KB)
Source International Conference on Functional Programming archive
Proceedings of the tenth ACM SIGPLAN international conference on Functional programming table of contents
Tallinn, Estonia
SESSION: Session 5 table of contents
Pages: 130 - 143  
Year of Publication: 2005
ISBN:1-59593-064-7
Also published in ...
Author
Didier Rémy  INRIA-Rocquencourt
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 30,   Citation Count: 6
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/1086365.1086383
What is a DOI?

ABSTRACT

We explore partial type-inference for System F based on type-containment. We consider both cases of a purely functional semantics and a call-by-value stateful semantics. To enable type-inference, we require higher-rank polymorphism to be user-specified via type annotations on source terms. We allow implicit predicative type-containment and explicit impredicative type-instantiation. We obtain a core language that is both as expressive as System F and conservative over ML. Its type system has a simple logical specification and a partial type-reconstruction algorithm that are both very close to the ones for ML. We then propose a surface language where some annotations may be omitted and rebuilt by some algorithmically defined but logically incomplete elaboration mechanism.


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
Jacques Garrigue. Relaxing the value restriction. In International Symposium on Functional and Logic Programming, volume 2998 of Lecture Notes in Computer Science, Nara, April 2004. Springer-Verlag.
 
3
 
4
Haruo Hosoya and Benjamin C. Pierce. How good is local type inference? Technical Report MS-CIS-99-17, University of Pennsylvania, June 1999.
 
5
Didier Le Botlan. MLF: Une extension de ML avec polymorphisme de second ordre et instanciation implicite. PhD thesis, University of Paris 7, June 2004. (english version).
6
 
7
8
 
9
10
11
12
 
13
François Pottier and Didier Rémy. The essence of ML type inference. Extended version of {PR05} (in preparation).
 
14
François Pottier and Didier Rémy. The essence of ML type inference. In Benjamin C. Pierce, editor, Advanced Topics in Types and Programming Languages, chapter 10, pages 389--489. MIT Press, 2005.
 
15
Simon Peyton Jones and Mark Shields. Lexically-scoped type variables. Submitted to ICFP 2004, March 2003.
16
 
17
Simon Peyton Jones, Dimitrios Vytiniotis, Stephanie Weirich, and Mark Shields. Practical type inference for arbitrary-rank types. Submitted to the Journal of Functional Programming, June 2005.
 
18
Simon Peyton Jones, Dimitrios Vytiniotis, Stephanie Weirich, and Mark Shields. Practical type inference for arbitrary-rank types. technical appendix. Private communication, June 2005.
 
19
 
20
Didier Rémy. Simple, partial type-inference for System F based on type-containment. Full version, September 2005.
 
21
 
22
Dimitrios Vytiniotis, Stephanie Weirich, and Simon Peyton Jones. Boxy type inference for higher-rank types and impredicativity. Available electronically at http://www.cis.upenn.edu/~dimitriv/boxy/boxy.ps, April 2005.
 
23
Joe B. Wells. Typability and type checking in the second-order λ-calculus are equivalent and undecidable. In Proceedings of the Ninth Annual IEEE Symposium on Logic in Computer Science (LICS), pages 176--185, 1994.
 
24
Joe B. Wells. The undecidability of Mitchell's subtyping relation. Technical Report 95--019, Computer Science Department, Boston Univiversity, December 1995.
 
25
 
26