[Haskell-cafe] Strange error with type classes + associated types