[Haskell] Classes with no data type