[Haskell-cafe] Factoring into type classes

Luke Palmer lrpalmer at gmail.com
Mon Jan 19 08:00:18 EST 2009


On Mon, Jan 19, 2009 at 3:58 AM, Patai Gergely <patai_gergely at fastmail.fm>wrote:

> However, there are other type classes that are too general to assign
> such concrete uses to. For instance, if a data structure can have more
> than one meaningful (and useful) Functor or Monoid instance,


As a side curiosity, I would love to see an example of any data structure
which has more than one Functor instance.  Especially those which have more
than one useful functor instance.

Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090119/43771a88/attachment-0001.htm


More information about the Haskell-Cafe mailing list