Journal of Functional Programming · 1996 · 52 citations · 6 references
ComputingComputer ScienceProgramming LanguagesSyntaxTheory Of ComputationAbstract Syntax TreesData TypesFunctional ProgrammingGeneric ProgrammingType CheckingType SystemsAbstract Data TypesDatatypes TheoryGeneric FunctionsGeneric TypesPolymorphic Type SystemsPolymorphic TypesRecursive TypesType Parameterization
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.
6
Deforestation: transforming programs to eliminate trees
Philip Wadler · Theoretical Computer Science · 1990 · 707 citations
Basic category theory for computer scientists
Choice Reviews Online · 1992 · 393 citations
Data structures and program transformation
Grant Malcolm · Science of Computer Programming · 1990 · 171 citations
A system of constructor classes
Mark P. Jones · 1993 · 123 citations