Towards Getting Generic Programming Ready for Prime Time

A. Rodriguez Yakushev

Research output: ThesisDoctoral thesis 1 (Research UU / Graduation UU)

Abstract

This thesis aims at making Datatype Generic Programming more useful in practice. We extend the fixed-point view as introduced by PolyP in order to support systems of mutually recursive datatypes. The new improved view allows us to define generic functions that were previously usable only on regular datatypes. Such examples of generic functions include the zipper, generic rewriting and fold. This thesis explores the problem of generic rewriting and that of extending a datatype with a meta-variable case without modifying its definition. We also compare various approaches to generic programming in Haskell. Finally, we apply generic programming to the problem of generating well-typed terms.
Original languageUndefined/Unknown
QualificationDoctor of Philosophy
Awarding Institution
  • Utrecht University
Supervisors/Advisors
  • Jeuring, Johan, Primary supervisor
  • Swierstra, S.D., Supervisor
Award date20 May 2009
Publisher
Print ISBNs978-90-393-5053-9
Publication statusPublished - 20 May 2009

Cite this