Skip to Main content Skip to Navigation
Conference papers

Hindley-Milner Elaboration in Applicative Style

Abstract : Type inference—the problem of determining whether a program is well-typed—is well-understood. In contrast, elaboration—the task of constructing an explicitly-typed representation of the program— seems to have received relatively little attention, even though, in a non-local type inference system, it is non-trivial. We show that the constraint-based presentation of Hindley-Milner type inference can be extended to deal with elaboration, while preserving its elegance. This involves introducing a new notion of "constraint with a value", which forms an applicative functor.
Document type :
Conference papers
Complete list of metadata

Cited literature [25 references]  Display  Hide  Download
Contributor : François Pottier Connect in order to contact the contributor
Submitted on : Friday, November 7, 2014 - 1:14:03 PM
Last modification on : Friday, January 21, 2022 - 3:15:25 AM
Long-term archiving on: : Sunday, February 8, 2015 - 10:36:40 AM


Files produced by the author(s)




François Pottier. Hindley-Milner Elaboration in Applicative Style. ICFP 2014: 19th ACM SIGPLAN International Conference on Functional Programming, Sep 2014, Goteborg, Sweden. ⟨10.1145/2628136.2628145⟩. ⟨hal-01081233⟩



Les métriques sont temporairement indisponibles