[Haskell-cafe] How to fulfill the "code-reuse" destiny of OOP?

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Thu Oct 29 21:54:02 EDT 2009


Hi,
  I think when people talk about OOP, especially the inheriting, their
focus mainly is on functions (methods).
  My concern here is about the data member inheriting. In OOP, when I
inherit a class, I also got the members of it. But in haskell, how to
inherit a "data"?
-- 
竹密岂妨流水过
山高哪阻野云飞


More information about the Haskell-Cafe mailing list