Template meta-programming for Haskell
The DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.
Abstract
We propose a new extension to the purely functional programming language Haskell that supports compile-time meta-programming. The purpose of the system is to support the algorithmic construction of programs at compile-time. The ability to generate code at compile time allows the programmer to implement such features as polytypic programs, macro-like expansion, user directed optimization (such as inlining), and the generation of supporting data structures and functions from existing data structures and functions. Our design is being implemented in the Glasgow Haskell Compiler, ghc. 1
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
The Computer Science Department.
Tolman, H. (1971) · Cited by 554
Multi-stage programming with explicit annotations
Taha, W., & Sheard, T. (1997) · Proceedings of the 1997 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation · doi:10.1145/258993.259019 · Cited by 342
Self-citationKohlbecker, E., Friedman, D. P., Felleisen, M., & Duba, B. (1986) · Proceedings of the 1986 ACM conference on LISP and functional programming - LFP '86 · doi:10.1145/319838.319859 · Cited by 311
Hinze, R. T. W., & Jones, S. (2001) · Electronic Notes in Theoretical Computer Science · doi:10.1016/s1571-0661(05)80542-0 · Cited by 118
Self-citation
Cited by
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
Self-citationQuipper: a scalable quantum programming language
Green, A. S., Lumsdaine, P. L., Ross, N. J., Selinger, P., & Valiron, B. (2013) · Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2491956.2462177 · Cited by 334
Finally tagless, partially evaluated: Tagless staged interpreters for simpler typed languages
CARETTE, J., KISELYOV, O., & SHAN, C.-C. (2009) · Journal of Functional Programming · doi:10.1017/s0956796809007205 · Cited by 279
Lightweight modular staging: a pragmatic approach to runtime code generation and compiled DSLs
Rompf, T., & Odersky, M. (2010) · Proceedings of the ninth international conference on Generative programming and component engineering · doi:10.1145/1868294.1868314 · Cited by 277
A history of Haskell: being lazy with class
Hudak, P., Hughes, J., Peyton Jones, S., & Wadler, P. (2007) · Proceedings of the third ACM SIGPLAN conference on History of programming languages · doi:10.1145/1238844.1238856 · Cited by 261
Accelerating Haskell array codes with multicore GPUs
Chakravarty, M. M. T., Keller, G., Lee, S., McDonell, T. L., & Grover, V. (2011) · Proceedings of the sixth workshop on Declarative aspects of multicore programming · doi:10.1145/1926354.1926358 · Cited by 244
Mirrors: design principles for meta-level facilities of object-oriented programming languages
Bracha, G., & Ungar, D. (2004) · Proceedings of the 19th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications · doi:10.1145/1028976.1029004 · Cited by 169
Build scripts with perfect dependencies
Spall, S., Mitchell, N., & Tobin-Hochstadt, S. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428237 · Cited by 8
Metadata
- Authors
- Sheard, T., & Jones, S. P.
- Venue
- Proceedings of the 2002 ACM SIGPLAN workshop on Haskell
- Publisher
- ACM
- Published
- 2002-10-03
- Pages
- 1-16
- OpenAlex
- W2009775190
- Cited by
- 545
- References
- 4
- FWCI
- 16.85
- Type
- conference paper
- Language
- en
- Open access
- closed
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
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.