[Haskell-cafe] Roles == type classes ???
Magnus Therning
magnus at therning.org
Wed May 9 05:41:58 EDT 2007
The way roles/traits are described in [1] (and the pages it links to)
make me think of Haskell type classes. Am I completely off in doing
that?
/M
[1]: http://griddlenoise.blogspot.com/2007/05/traits-roles-as-alternative-to-abstract.html
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus at therning.org Jabber: magnus.therning at gmail.com
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070509/63289684/attachment.bin
More information about the Haskell-Cafe
mailing list