Projects per year
Abstract
FreezeML is a new approach to first-class polymorphic type inference that employs term annotations to control when and how polymorphic types are instantiated and generalised. It conservatively extends Hindley-Milner type inference and was first presented as an extension to Algorithm W. More modern type inference techniques such as HM(X) and OutsideIn($X$) employ constraints to support features such as type classes, type families, rows, and other extensions. We take the first step towards modernising FreezeML by presenting a constraint-based type inference algorithm. We introduce a new constraint language, inspired by the Pottier/R\'emy presentation of HM(X), in order to allow FreezeML type inference problems to be expressed as constraints. We present a deterministic stack machine for solving FreezeML constraints and prove its termination and correctness.
| Original language | English |
|---|---|
| Publisher | ArXiv |
| Number of pages | 45 |
| DOIs | |
| Publication status | Published - 20 Jul 2022 |
Keywords / Materials (for Non-textual outputs)
- first-class polymorphism
- type inference
- impredicative types
- constraints
- Software and its engineering
- Polymorphism
- Functional languages
Fingerprint
Dive into the research topics of 'Constraint-based type inference for FreezeML'. Together they form a unique fingerprint.Projects
- 1 Finished
-
Skye-A programming language bridging theory and practice for scientific data curation
Cheney, J. (Principal Investigator)
1/09/16 → 28/02/23
Project: Research
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver