[Haskell-cafe] Type inference problem