[Haskell-beginners] Equivalent of inheritance in Haskell
Paul Sargent
psarge at gmail.com
Mon Dec 13 18:40:14 CET 2010
On 13 Dec 2010, at 17:16, C K Kashyap wrote:
> In oops, one can do reuse code by extending a parent class. What is
> the equivalent in Haskell?
There isn't an equivalent as Haskell doesn't have classes (type classes are different). There's other ways to do things, but without knowing what you're doing it's difficult to point to anything.
More information about the Beginners
mailing list