kirancodes.me
To Proof Maintenance & Beyond!

Generic Functional Programming with Types and Relations

Richard S. Bird, Oege de Moor, Paul F. Hoogendijk

Abstract

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.

DOI 10.1017/s0956796800001556

Related papers