Difference between revisions of "Applications and libraries/Generic programming"

From HaskellWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
=== Work Plan ===
 
=== Work Plan ===
   
  +
We have identified a number of approaches that are potential candidates to a generic programming library:
At the moment the work plan is to spend two week discussing several of the existing approaches. This phase will extend until the end of the year. The list of proposals under discussion is:
 
   
 
<ul>
 
<ul>
Line 20: Line 20:
 
<li><p>Almost compositional functions</p></li>
 
<li><p>Almost compositional functions</p></li>
 
</ul>
 
</ul>
  +
  +
At the moment we are discussing the advantages and disadvantages of the different approaches. Each approach is roughly two weeks under discussion and the results will be published in this Wiki Page. There is also a darcs repository where you can find some code that we are collecting. For retriving this code do:
  +
  +
> darcs get http://darcs.haskell.org/generics

Revision as of 19:55, 9 October 2006

The copyright status of this work is not known. Please help resolve this on the talk page.

This page contains a list of libraries and tools in a certain category. For a comprehensive list of such pages, see Applications and libraries.

Common library for generic programming

Johan Jeuring and Andres Loeh announced an initiative to design a common library for generic programming, which should work together with most of the Haskell compilers, and for which they hope to guarantee support for generics in Haskell into the future. If you want to get involved (or just want to see the discussion), you can subscribe to the generics mailing list. Check the Haskell research wiki for some background on generics.

Work Plan

We have identified a number of approaches that are potential candidates to a generic programming library:

  • A Lightweight Implementation Generics and Dynamics

  • SYB (and variants)

  • Generics for the Masses

  • Generics as a library

  • Smash your Boilerplate

  • RepLib

  • Extensible superclasses

  • Almost compositional functions

At the moment we are discussing the advantages and disadvantages of the different approaches. Each approach is roughly two weeks under discussion and the results will be published in this Wiki Page. There is also a darcs repository where you can find some code that we are collecting. For retriving this code do:

> darcs get http://darcs.haskell.org/generics