Abstract
A generic functional program is one which is parameterised by datatype. By installing specific choices, for example lists or trees, different programs are obtained that are, nevertheless, abstractly the same. The purpose of this paper is to explore the possibility of deriving generic programs. Part of the theory of lists that deals with segments is recast as a theory about 'segments' in a wide class of datatypes, and then used to pose and solve a generic version of a well-known problem.
Cite
CITATION STYLE
Bird, R., De Moor, O., & Hoogendijk, P. (1996). Generic functional programming with types and relations. Journal of Functional Programming, 6(1), 1–28. https://doi.org/10.1017/S0956796800001556
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.