[Haskell-cafe] Shortening if-then-else