[Haskell-cafe] Class annotation on datatype ineffective in function