An object-oriented approach to datatype-generic programming

  title={An object-oriented approach to datatype-generic programming},
  author={Adriaan Moors and Frank Piessens and Wouter Joosen},
Datatype-generic programming (DGP) is the next step beyond abstracting over types using parametric polymorphism, which is often called "genericity" in object-oriented languages. However, unlike genericity, DGP has not received much attention in the OO community. Nonetheless, in the context of functional languages, it has proven to make programs more robust with respect to changes in the type structure, as well as in many other applications, such as type-safe XML processing and marshalling. To… CONTINUE READING


Publications referenced by this paper.
Showing 1-3 of 3 references

Design patterns as higher-order datatype-generic programs

ICFP-WGP • 2006
View 7 Excerpts
Highly Influenced

Using MetaML: A Staged Programming Language

Advanced Functional Programming • 1998
View 3 Excerpts
Highly Influenced

Similar Papers

Loading similar papers…