[Haskell-cafe] Trouble with types

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Dec 25 03:56:25 EST 2007


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 at gmail.com



More information about the Haskell-Cafe mailing list