Comparing approaches to generic programming in Haskell

  • Hinze R
  • Jeuring J
  • Löh A
  • 31


    Mendeley users who have this article in their library.
  • 25


    Citations of this article.


The last decade has seen a number of approaches to datatype-generic programming: PolyP, Functorial ML, Scrap Your Boilerplate, Generic Haskell, Generics for the Masses, and so on. The approaches vary in sophistication and target audience: some propose full-blown programming languages, some suggest libraries, some can be seen as categorical programming methods. In these lecture notes we compare the various approaches to datatype-generic programming in Haskell. We introduce each approach by means of example, and we evaluate it along different dimensions (expressivity, ease of use, and so on).

Get free article suggestions today

Mendeley saves you time finding and organizing research

Sign up here
Already have an account ?Sign in

Find this document

Get full text


  • Ralf Hinze

  • Johan Jeuring

  • Andres Löh

Cite this document

Choose a citation style from the tabs below

Save time finding and organizing research with Mendeley

Sign up for free