[Haskell-cafe] Avoiding "Non-exhaustive patterns in function f"