[Haskell-beginners] interface/abstract class: what is the haskell way?