ACM Home Page
Please provide us with feedback. Feedback
Template meta-programming for Haskell
Full text PdfPdf (169 KB)
Source Haskell archive
Proceedings of the 2002 ACM SIGPLAN workshop on Haskell table of contents
Pittsburgh, Pennsylvania
Pages: 1 - 16  
Year of Publication: 2002
ISBN:1-58113-605-6
Authors
Tim Sheard  OGI School of Science & Engineering, Oregon Health & Science University
Simon Peyton Jones  Microsoft Research Ltd
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 11,   Downloads (12 Months): 62,   Citation Count: 51
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/581690.581691
What is a DOI?

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
A. Alexandrescu. Modern C++ design. Addison Wesley, 2001.
2
 
3
C. Calcagno, W. Taha, L. Huang, and X. Leroy. A bytecodecompiled, type-safe, multi-stage language. Technical report, Computer Science Department, Yale University, 2002.
4
 
5
 
6
J. de Wit. A technical overview of Generic Haskell. Master's thesis, INF-SCR-02-03, Department of Information and Computing Sciences, Utrecht University, 2002.
 
7
8
 
9
R. Hinze and S. Peyton Jones. Derivable type classes. In G. Hutton, editor, Proceedings of the 2000 Haskell Workshop, Montreal, number NOTTCS-TR-00-1 in Technical Reports, Sept. 2000.
10
11
12
 
13
 
14
T. Sheard, Z. Benaissa, and M. Martel. Introduction to Multistage Programming Using MetaML. Pacific Software Research Center, Oregon Graduate Institute, 2nd edition, 2000. Available at http://cse.ogi.edu/~sheard/papers/manual.ps.
15
16
 
17
N. Winstanley. A type-sensitive preprocessor for Haskell. In Glasgow Workshop on Functional Programming, Ullapool, 1997.

CITED BY  52

Collaborative Colleagues:
Tim Sheard: colleagues
Simon Peyton Jones: colleagues