2004
DOI: 10.1007/978-3-540-27764-4_17
|View full text |Cite
|
Sign up to set email alerts
|

Prototyping Generic Programming in Template Haskell

Abstract: Abstract. Generic Programming deals with the construction of programs that can be applied to many dierent datatypes. This is achieved by parameterizing the generic programs by the structure of the datatypes on which they are to be applied. Programs that can be dened generically range from simple map functions through pretty printers to complex XML tools.The design space of generic programming languages is largely unexplored, partly due to the time and eort required to implement such a language. In this paper w… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
9
0

Year Published

2005
2005
2016
2016

Publication Types

Select...
4
2
2

Relationship

0
8

Authors

Journals

citations
Cited by 9 publications
(9 citation statements)
references
References 13 publications
0
9
0
Order By: Relevance
“…They also present an approach to generic programming using template Haskell [30]. Finally, Norell [28] describes an encoding of generic programs in dependent type theory.…”
Section: Conclusion and Related Workmentioning
confidence: 99%
“…They also present an approach to generic programming using template Haskell [30]. Finally, Norell [28] describes an encoding of generic programs in dependent type theory.…”
Section: Conclusion and Related Workmentioning
confidence: 99%
“…Template Haskell Template Haskell (Sheard and Jones 2002) is a metaprogramming system for Haskell in which metaprograms are monadic actions that transform Haskell programs. It has been enabled a great deal of interesting work, including prototype implementations of generic programming extensions (Norell and Jansson 2004). Template Haskell's Q monad, however, does not supply effects related to the elaboration infrastructure of implementations such as GHC.…”
Section: Related Workmentioning
confidence: 99%
“…Similarly, dependent types allow non-trivial data types to be encoded generically, but the dust has not yet settled around which universe encoding of data types is best. Norell and Jansson (2004) describe an application of Template Haskell to implementing novel generic programming systems. Similarly, the Shapeless generic programming library for Scala 5 uses Scala's macro facility to implement its generics, an approach discussed by Burmako (2013).…”
Section: Future Workmentioning
confidence: 99%
“…It has been enabled a great deal of interesting work, including prototype implementations of generic programming extensions (Norell and Jansson 2004). Template Haskell's Q monad, however, does not supply effects related to the elaboration infrastructure of implementations such as GHC.…”
Section: Related Workmentioning
confidence: 99%