[Haskell-cafe] Graph Library Using Associated Types

Lajos Nagy lajos.nagy at gmail.com
Mon Oct 12 22:51:22 EDT 2009


I understand that one of the original motivations for introducing associated
types to Haskell was the survey of support for generic programming done by
Garcia et al. where they compared the implementation of the Boost Graph
Library in various languages (C++, Java, Haskell, ML, C#, Eiffel).  Haskell
got full marks in all categories, except for associated types which made the
resulting implementations more verbose than necessary (and exposed
implementation details).  Since then GHC added support for associated types
but I was wondering if anybody re-did the experiment with the new features
enabled (the original code is available at:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091012/3fd33217/attachment.html

More information about the Haskell-Cafe mailing list