Publication View

Patterns in Datatype-Generic Programming (2003)

Abstract
Generic programming consists of increasing the expressiveness of programs by allowing a wider variety of kinds of parameter than is usual. The most popular instance of this scheme is the C++ Standard Template Library. Datatype-generic programming is another instance, in which the parameters take the form of datatypes. We argue that datatype-generic programming is su#cient to express essentially all the genericity found in the Standard Template Library, and to capture the abstractions motivating many design patterns. Moreover, datatype-generic programming is a precisely-defined notion with a rigorous mathematical foundation, in contrast to generic programming in general and the C++ template mechanism in particular, and thereby o#ers the prospect of better static checking and a greater ability to reason about generic programs. This paper describes work in progress.

Publication details
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.57.9853
Source http://web.comlab.ox.ac.uk/oucl/work/jeremy.gibbons/publications/patterns.pdf
Publisher Palgrave
Contributors CiteSeerX
Repository CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Type text
Language English
Relation 10.1.1.100.8004, 10.1.1.47.155, 10.1.1.35.3570, 10.1.1.19.8322, 10.1.1.13.5249, 10.1.1.38.6531, 10.1.1.22.2636, 10.1.1.19.2886, 10.1.1.18.9093, 10.1.1.95.1648, 10.1.1.36.8399, 10.1.1.12.8783, 10.1.1.74.7121, 10.1.1.103.7480, 10.1.1.5.818, 10.1.1.104.1972, 10.1.1.108.8788, 10.1.1.3.537, 10.1.1.4.9706, 10.1.1.65.8993, 10.1.1.66.8886, 10.1.1.68.2259, 10.1.1.75.3151, 10.1.1.78.4399, 10.1.1.123.2354, 10.1.1.130.2743, 10.1.1.137.24, 10.1.1.60.449, 10.1.1.60.7751