
26 Nov
2009
26 Nov
'09
1:33 a.m.
Hello, Coming also from an OO background, I had this same feeling as yours when I started learning haskell. It might help to think that type classes are "like" interfaces: They allow expressing a family of behaviors as a bunch of related functions. The fact that it allows using same name to act on/with different things is an interesting side-effect. -- Arnaud Bailly -- OQube <software engineering> http://www.oqube.com/