OOP vs type classes Re[2]: [Haskell-cafe] type gurus, can you please help?

2006-08-16 Thread Bulat Ziganshin
Hello Gabriel, Tuesday, August 15, 2006, 10:36:28 PM, you wrote: | Moreover, Haskell type classes supports inheritance. Run-time | polymorphism together with inheritance are often seen as OOP | distinctive points, so during long time i considered type classes as a | form of OOP

Re: OOP vs type classes Re[2]: [Haskell-cafe] type gurus, can you please help?

2006-08-16 Thread Gabriel Dos Reis
Bulat Ziganshin [EMAIL PROTECTED] writes: | Hello Gabriel, | | Tuesday, August 15, 2006, 10:36:28 PM, you wrote: | | | Moreover, Haskell type classes supports inheritance. Run-time | | polymorphism together with inheritance are often seen as OOP | | distinctive points, so during long time i

Re: [Haskell-cafe] type gurus, can you please help?

2006-08-15 Thread Gabriel Dos Reis
Bulat Ziganshin [EMAIL PROTECTED] writes: [...] | Moreover, Haskell type classes supports inheritance. Run-time | polymorphism together with inheritance are often seen as OOP | distinctive points, so during long time i considered type classes as a | form of OOP implementation. but that's wrong!

[Haskell-cafe] type gurus, can you please help?

2006-08-14 Thread Bulat Ziganshin
Hello haskell, i'm started to write article about type classes. can you, type gurus, please check this initial text for correctness in explaining differences between classes and type classes? at this moment C++/C#/Java languages has classes and templates/generics. what is a difference? with a