2009
DOI: 10.1016/j.scico.2007.10.006
|View full text |Cite
|
Sign up to set email alerts
|

Generic programming in 3D

Abstract: a b s t r a c t Support for generic programming consists of three essential ingredients: support for overloaded functions, a run-time type representation, and a generic view on data. Different approaches to datatype-generic programming occupy different points in this design space. In this article, we revisit the ''Scrap your boilerplate'' approach and identify its location within the three-dimensional design space. The characteristic features of ''Scrap your boilerplate'' are its two generic views, the 'spine'… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
19
0

Year Published

2009
2009
2016
2016

Publication Types

Select...
4
3
1

Relationship

2
6

Authors

Journals

citations
Cited by 18 publications
(19 citation statements)
references
References 32 publications
0
19
0
Order By: Relevance
“…Typically the object language is a programming or document-markup language, but the ideas generalise to any tree-structured data. The term generic programming has multiple meanings (Gibbons, 2003), but in this article we always mean datatype-generic programming (also known as polytypic programming) (Hinze & Löh, 2007;Rodriguez Yakushev et al, 2008;Hinze & Löh, 2009). This notion of generic programming involves defining functions that operate over typed data, but that operate based on the shape of the data rather than its type.…”
Section: Strategic and Generic Programmingmentioning
confidence: 99%
“…Typically the object language is a programming or document-markup language, but the ideas generalise to any tree-structured data. The term generic programming has multiple meanings (Gibbons, 2003), but in this article we always mean datatype-generic programming (also known as polytypic programming) (Hinze & Löh, 2007;Rodriguez Yakushev et al, 2008;Hinze & Löh, 2009). This notion of generic programming involves defining functions that operate over typed data, but that operate based on the shape of the data rather than its type.…”
Section: Strategic and Generic Programmingmentioning
confidence: 99%
“…The idea of generic programming in dependent type theory via universes has seen much attention since it was originally proposed [17,21,14,6]. This tutorial covers only one part of what is possible in a dependently typed language.…”
Section: Related Workmentioning
confidence: 99%
“…Different approaches to generic programming differ in the language that is used to represent types [14]. PolyP [16], for instance, is based on a grammar for bifunctors and regular functors.…”
Section: The Simply-typed Lambda Calculusmentioning
confidence: 99%
“…There is a considerable body of work on datatype-generic programming (DGP), see [14,24] for recent overviews. PolyP [16], one of the first languages with support for DGP, grew out of the work on the Algebra of Programming [19,21].…”
Section: Related Workmentioning
confidence: 99%