Generic programming, now!

  • Authors:
  • Ralf Hinze;Andres Löh

  • Affiliations:
  • Institut für Informatik III, Universität Bonn, Bonn, Germany;Institut für Informatik III, Universität Bonn, Bonn, Germany

  • Venue:
  • SSDGP'06 Proceedings of the 2006 international conference on Datatype-generic programming
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Tired of writing boilerplate code? Tired of repeating essentially the same function definition for lots of different datatypes? Datatype-generic programming promises to end these coding nightmares. In these lecture notes, we present the key abstractions of datatype-generic programming, give several applications, and provide an elegant embedding of generic programming into Haskell. The embedding builds on recent advances in type theory: generalised algebraic datatypes and open datatypes. We hope to convince you that generic programming is useful and that you can use generic programming techniques today!