Comparison of type families with functional dependencies.

http://article.gmane.org/gmane.comp.lang.haskell.cafe/52948

This is a haskell-cafe post of a brief summary of the commonalities and differences of the two language features.

Loading mentions Retweet
Filed under  //  haskell   type families  
Comments (0)
Posted 1 year ago

Some nice code examples showing how to use type families.

http://martijn.van.steenbergen.nl/journal/2009/01/11/type-synonym-families/

They are inspired by code from the MTL and from parser combinators.

Loading mentions Retweet
Filed under  //  haskell   type families  
Comments (0)
Posted 1 year ago

Enforcing a relation between independent type families.

http://www.haskell.org/pipermail/haskell-cafe/2009-January/053696.html

The question of how to ensure that one type family is the inverse of another comes up once in a while.  Here some concrete code.

Loading mentions Retweet
Filed under  //  haskell   type families  
Comments (0)
Posted 1 year ago