
25 Dec
2007
25 Dec
'07
3:56 a.m.
Hello Konstantin, Tuesday, December 25, 2007, 8:11:34 AM, you wrote:
class FirstClass a where firstFunction :: (SecondClass b) => a -> b
this looks like one more attempt to use OOP thinking in Haskell. look at http://haskell.org/haskellwiki/OOP_vs_type_classes and especially papers referenced there -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com