Upload_transparent

Fun and generic things to do with EMGM - London HUG - 9 July 2009

 
 
 
 
 
splib

by splib

Value This
Doc
Scribd
Average
     
Pages: 41 43
Words: 3455 13640
Characters: 18177 81678
Lines: 157 623
     
     
Letters per word: 5.26 5.99
Words per line: 22.01 21.89
Words per page: 84.27 317.21

Add to your reading list

Flag_red Flag this document

Document Information

215 Reads | 0 Comments

Description

Generic programming has become a popular technique for reducing code and simplifying programs. There are many libraries for Haskell programmers that offer different approaches to generic programming. This talk introduces one such library, Extensible and Modular Generics for the Masses (EMGM), that was uploaded to Hackage for the first time in September 2008. EMGM uses type classes to provide a sum-of-products representation of datatypes. Not quite as well-known as its cousin, Scrap Your Boilerplate, EMGM also provides a wealth of generic functions. Additionally, EMGM allows programmers to easily write their own generic functions and specialize any function for arbitrary datatypes. In this talk, we look at the building blocks of EMGM, at various generic functions provided by the library, how do define one’s own generic function, and at some potential uses.

Sean Leather is a PhD student at Utrecht University in the Netherlands. His research focuses on exploring libraries for generic programming in Haskell.

Pdf_16x16 41 Pages


Date Added

07/09/2009

Category
Tags
Groups
Copyright

Attribution Non-commercial

More info »

 

or use Facebook Connect