ComputingComputer ScienceAlgorithmsComputer GraphicsProgramming LanguagesConstraint RepresentationConstraint SatisfactionData TypesGraphical RepresentationType CheckingType SystemsComplexityConstraint TransformationConstraint-based Type CheckingPolymorphic Type SystemsType ConstraintsType InferenceType PolymorphismType Theory
MLF is a type system that seamlessly merges ML-style type inference with System-F polymorphism. We propose a system of graphic (type) constraints that can be used to perform type inference in both ML or MLF. We show that this constraint system is a small extension of the formalism of graphic types, originally introduced to represent MLF types. We give a few semantic preserving transformations on constraints and propose a strategy for applying them to solve constraints. We show that the resulting algorithm has optimal complexity for MLF type inference, and argue that, as for ML, this complexity is linear under reasonable assumptions.
7
Didier Le Botlan, Didier Rémy · 2003 · 60 citations
Dimitrios Vytiniotis, Stephanie Weirich, Simon Peyton Jones · 2008 · 30 citations