[Haskell-cafe] Proper way to write this