2007
DOI: 10.1145/1291220.1291169
|View full text |Cite
|
Sign up to set email alerts
|

A type directed translation of MLF to system F

Abstract: The MLF type system by Le Botlan and Rémy is a natural extension of Hindley-Milner type inference that supports full first-class polymorphism, where types can be of higher-rank and impredicatively instantiated. Even though MLF is theoretically very attractive, it has not seen widespread adoption. We believe that this partly because it is unclear how the rich language of MLF types relate to standard System F types. In this article we give the first type directed translation of MLF terms to System F terms. Based… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
12
0

Year Published

2011
2011
2022
2022

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(12 citation statements)
references
References 11 publications
0
12
0
Order By: Relevance
“…MLF [10] (sometimes stylised as ML F ) is considered to be the most expressive of the conservative ML extensions so far. MLF achieves its expressiveness by going beyond regular System F types and introducing polymorphically bounded types, though translation from MLF to System F and vice versa remains possible [10,11]. MLF also extends ML with type annotations on lambda binders.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…MLF [10] (sometimes stylised as ML F ) is considered to be the most expressive of the conservative ML extensions so far. MLF achieves its expressiveness by going beyond regular System F types and introducing polymorphically bounded types, though translation from MLF to System F and vice versa remains possible [10,11]. MLF also extends ML with type annotations on lambda binders.…”
Section: Related Workmentioning
confidence: 99%
“…• Predictable behaviour Our ideal solution would avoid guessing polymorphism and be specified so that programmers can anticipate where type annotations will be needed. More recent systems, such as HMF [11] and GI [24], use System F types, and are relatively easy to implement, but employ heuristics to guess one of several different polymorphic types, and require programmer annotations if the default heuristic behaviour is not what is needed.…”
Section: Introductionmentioning
confidence: 99%
“…We first define a minimal imperative language (Section 6.1) and then present ML-style functional pseudocode for converting any program written in this language into a PEG (Section 6.2). Next, we present a formal account of the conversion process using type-directed translation rules in the style of [37] (Section 6.3). Finally, we outline a proof of the semantic preservation of the translation (Section 6.4).…”
Section: Definition 52 (Invariance Predicate)mentioning
confidence: 99%
“…Type-directed translation. In this section we formalize the translation process described by the pseudo-code implementation with a type-directed translation from SIMPLE programs to PEGs, in the style of [37]. The type-directed translation in Figure 17 is more complicated than the implementation in Figure 15, but it makes it easier to prove the correctness of the translation.…”
Section: Statementsmentioning
confidence: 99%
“…We omitted the proof of inclusion from xMLF into F x ι by lack of space, but also because it resembles theirs. In fact, their translation of xMLF into F x ι has itself been inspired by the translation of MLF into System F by Leijen and Löh [2005] and Leijen [2007]. However, Manzonetto and Tranquilli restrict their study to the termination of xMLF without any interest in F η or F <: , while our main interest is not in F x ι , but in F p ι and F ι , i.e.…”
Section: Related Workmentioning
confidence: 99%