[Haskell-cafe] modelling problem

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri Dec 8 09:03:18 EST 2006


Hello Kurt,

Friday, December 8, 2006, 1:11:35 PM, you wrote:

> I'm trying, more as a first excercise in Haskell than anything else, to

> class Activity a c where

seems like your goes from OOP world? :) type classes are pretty rare birds
in Haskell programs. There are other ways to implement such functionality:

http://haskell.org/haskellwiki/OOP_vs_type_classes

btw, i also suggest looking into sources of Base and MissingH libraries
to see examples of good programming style


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list