File Download
Links for fulltext
(May Require Subscription)
- Publisher Website: 10.1145/3371121
- Scopus: eid_2-s2.0-85089767005
- WOS: WOS:000685202400054
- Find via
Supplementary
- Citations:
- Appears in Collections:
Article: Kind inference for datatypes
Title | Kind inference for datatypes |
---|---|
Authors | |
Issue Date | 2020 |
Publisher | Association for Computing Machinery: Open Access Journals. The Journal's web site is located at https://dl.acm.org/journal/pacmpl |
Citation | Proceedings of the ACM on Programming Languages, 2020, v. 4, p. article no. 53 How to Cite? |
Abstract | In recent years, languages like Haskell have seen a dramatic surge of new features that significantly extends the expressive power of their type systems. With these features, the challenge of kind inference for datatype declarations has presented itself and become a worthy research problem on its own. This paper studies kind inference for datatypes. Inspired by previous research on type-inference, we offer declarative specifications for what datatype declarations should be accepted, both for Haskell98 and for a more advanced system we call PolyKinds, based on the extensions in modern Haskell, including a limited form of dependent types. We believe these formulations to be novel and without precedent, even for Haskell98. These specifications are complemented with implementable algorithmic versions. We study soundness, completeness and the existence of principal kinds in these systems, proving the properties where they hold. This work can serve as a guide both to language designers who wish to formalize their datatype declarations and also to implementors keen to have principled inference of principal types. |
Persistent Identifier | http://hdl.handle.net/10722/301196 |
ISSN | 2023 Impact Factor: 2.2 2023 SCImago Journal Rankings: 1.242 |
ISI Accession Number ID |
DC Field | Value | Language |
---|---|---|
dc.contributor.author | XIE, N | - |
dc.contributor.author | Eisenberg, RA | - |
dc.contributor.author | Dos Santos Oliveira, BCDS | - |
dc.date.accessioned | 2021-07-27T08:07:33Z | - |
dc.date.available | 2021-07-27T08:07:33Z | - |
dc.date.issued | 2020 | - |
dc.identifier.citation | Proceedings of the ACM on Programming Languages, 2020, v. 4, p. article no. 53 | - |
dc.identifier.issn | 2475-1421 | - |
dc.identifier.uri | http://hdl.handle.net/10722/301196 | - |
dc.description.abstract | In recent years, languages like Haskell have seen a dramatic surge of new features that significantly extends the expressive power of their type systems. With these features, the challenge of kind inference for datatype declarations has presented itself and become a worthy research problem on its own. This paper studies kind inference for datatypes. Inspired by previous research on type-inference, we offer declarative specifications for what datatype declarations should be accepted, both for Haskell98 and for a more advanced system we call PolyKinds, based on the extensions in modern Haskell, including a limited form of dependent types. We believe these formulations to be novel and without precedent, even for Haskell98. These specifications are complemented with implementable algorithmic versions. We study soundness, completeness and the existence of principal kinds in these systems, proving the properties where they hold. This work can serve as a guide both to language designers who wish to formalize their datatype declarations and also to implementors keen to have principled inference of principal types. | - |
dc.language | eng | - |
dc.publisher | Association for Computing Machinery: Open Access Journals. The Journal's web site is located at https://dl.acm.org/journal/pacmpl | - |
dc.relation.ispartof | Proceedings of the ACM on Programming Languages | - |
dc.rights | This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. | - |
dc.title | Kind inference for datatypes | - |
dc.type | Article | - |
dc.identifier.email | Dos Santos Oliveira, BCDS: bruno@cs.hku.hk | - |
dc.identifier.authority | Dos Santos Oliveira, BCDS=rp01786 | - |
dc.description.nature | published_or_final_version | - |
dc.identifier.doi | 10.1145/3371121 | - |
dc.identifier.scopus | eid_2-s2.0-85089767005 | - |
dc.identifier.hkuros | 323734 | - |
dc.identifier.volume | 4 | - |
dc.identifier.spage | article no. 53 | - |
dc.identifier.epage | article no. 53 | - |
dc.identifier.isi | WOS:000685202400054 | - |
dc.publisher.place | United States | - |