首页 | 本学科首页   官方微博 | 高级检索  
     


Recasting MLF
Authors:Didier Le Botlan  Didier Rémy
Affiliation:1. CNRS; LAAS; 7 avenue du colonel Roche, F-31077 Toulouse, France;2. Université de Toulouse; UPS, INSA, INP, ISAE; LAAS; F-31077, France;3. INRIA Paris – Rocquencourt, BP 105, 78153 Le Chesnay Cedex, France
Abstract:The language MLF is a proposal for a new type system that supersedes both ML and System F, allows for efficient, predictable, and complete type inference for partially annotated terms. In this work, we revisit the definition of MLF, following a more progressive approach and focusing on the design-space and expressiveness. We introduce a Curry-style version iMLF of MLF and provide an interpretation of iMLF types as instantiation-closed sets of Dash System-F types, from which we derive the definition of type-instance in iMLF. We give equivalent syntactic definition of the type-instance, presented as a set of inference rules. We also show an encoding of iMLF into the closure of Curry-style System F by let-expansion. We derive the Church-style version eMLF by refining types of iMLF so as to distinguish between given and inferred polymorphism. We show an embedding of ML in eMLF and a straightforward encoding of System F into eMLF.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号