Giving Haskell a promotion
Open accessThe DOI matches its Crossref record; 23 of the 23 references it cites were found in a registry or an index.
Abstract
Static type systems strive to be richly expressive while still being simple enough for programmers to use. We describe an experiment that enriches Haskell's kind system with two features promoted from its type system: data types and polymorphism. The new system has a very good power-to-weight ratio: it offers a significant improvement in expressiveness, but, by re-using concepts that programmers are already familiar with, the system is easy to understand and implement.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Interactive Theorem Proving and Program Development
Bertot, Y., & Castéran, P. (2004) · Texts in Theoretical Computer Science An EATCS Series · doi:10.1007/978-3-662-07964-5 · Cited by 1,353
Castéran, P., & Bertot, Y. (2004) · HAL (Le Centre pour la Communication Scientifique Directe) · Cited by 1,084
Barendregt, H. P., Dekkers, W., & Statman, R. (2013) · Cambridge University Press eBooks · doi:10.1017/cbo9781139032636 · Cited by 1,042
Towards a practical programming language based on dependent type theory
Norell, U. (2007) · Chalmers Publication Library (Chalmers University of Technology) · Cited by 826
Scrap your boilerplate: a practical design pattern for generic programming
Lämmel, R., & Jones, S. P. (2003) · Proceedings of the 2003 ACM SIGPLAN international workshop on Types in languages design and implementation · doi:10.1145/604174.604179 · Cited by 351 · cited 1×
“Rule GWF C ON requires data constructors to have types of the following form: Data constructors can be polymorphic over kinds and types, all of which must show up as parameters to the datatypes that they construct.”
BackgroundSimple unification-based type inference for GADTs
Peyton Jones, S., Vytiniotis, D., Weirich, S., & Washburn, G. (2006) · Proceedings of the eleventh ACM SIGPLAN international conference on Functional programming · doi:10.1145/1159803.1159811 · Cited by 335 · cited 8×
“The user is allowed to provide instances of the class Typeable for specific kind and type instantiations, such as: instance Typeable Int where typeOf = ... -- some representation for Int instance Typeable Maybe where typeOf = ... -- some representation for Maybe Even though the class declaration is kind polymorphic, th…”
BackgroundMethodInfluentialSelf-citationCompiling polymorphism using intensional type analysis
Harper, R., & Morrisett, G. (1995) · Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '95 · doi:10.1145/199448.199475 · Cited by 295 · cited 1×
“on intensional type analysis [9] included an operator that dispatched on types, but not kinds.”
BackgroundSystem F with type equality coercions
Sulzmann, M., Chakravarty, M. M. T., Jones, S. P., & Donnelly, K. (2007) · Proceedings of the 2007 ACM SIGPLAN international workshop on Types in languages design and implementation · doi:10.1145/1190315.1190324 · Cited by 239
Strongly typed heterogeneous collections
Kiselyov, O., Lämmel, R., & Schupke, K. (2004) · Proceedings of the 2004 ACM SIGPLAN workshop on Haskell · doi:10.1145/1017472.1017488 · Cited by 185 · cited 1×
“Data constructors for kind-polymorphic datatypes must themselves be kind polymorphic (the alternative would be to allow kind equalities , just as type equalities are currently allowed for GADTs, but we do not: see §3.4).”
BackgroundInfluentialSecure distributed programming with value-dependent types
Swamy, N., Chen, J., Fournet, C., Strub, P.-Y., Bhargavan, K., & Yang, J. (2011) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/2034773.2034811 · Cited by 183
Cited by
Linear dependent types for differential privacy
Gaboardi, M., Haeberlen, A., Hsu, J., Narayan, A., & Pierce, B. C. (2013) · Proceedings of the 40th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/2429069.2429113 · Cited by 163
Liberating effects with rows and handlers
Hillerström, D., & Lindley, S. (2016) · Proceedings of the 1st International Workshop on Type-Driven Development · doi:10.1145/2976022.2976033 · Cited by 68
“Orchard and Petricek [28] make some progress towards encoding unordered effect rows by performing a sorting algorithm at the level of types, taking advantage of GHC’s support for dependentlytyped programming [37].”
BackgroundEmbedding a full linear Lambda calculus in Haskell
Polakow, J. (2015) · Proceedings of the 2015 ACM SIGPLAN Symposium on Haskell · doi:10.1145/2804302.2804309 · Cited by 17
Effect handlers in Haskell, evidently
Xie, N., & Leijen, D. (2020) · Proceedings of the 13th ACM SIGPLAN International Symposium on Haskell · doi:10.1145/3406088.3409022 · Cited by 8
“Datatype promotion ( ’ ) [Yorgey et al. 2012] lifts the boolean values to the type-level.”
Background
Metadata
- Authors
- Yorgey, B. A., Weirich, S., Cretin, J., Peyton Jones, S., Vytiniotis, D., & Magalhães, J. P.
- Venue
- Proceedings of the 8th ACM SIGPLAN workshop on Types in language design and implementation
- Publisher
- ACM
- Published
- 2012-01-28
- Pages
- 53-66
- OpenAlex
- W2112474400
- Cited by
- 172
- References
- 23
- FWCI
- 23.39
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Giving Haskell a promotion. https://app.cochat.ai/papers/10.1145/2103786.2103795
- The paper
- Yorgey, B. A., Weirich, S., Cretin, J., Peyton Jones, S., Vytiniotis, D., & Magalhães, J. P. (2012). Giving Haskell a promotion. Proceedings of the 8th ACM SIGPLAN workshop on Types in language design and implementation. https://doi.org/10.1145/2103786.2103795
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.