if x > y -> true; otherwise -> false; end
Using otherwise makes it a loss less ugly, and I guess fixes the false cognate.
case (x>y) of {True -> "Yup"; False -> "Nope");}
if (x>y) then "Yup" else "Nope"
fizzbuzz x | x `mod` 15 == 0 = "Fizzbuzz" | x `mod` 5 == 0 = "Buzz" | x `mod` 3 == 0 = "Fizz" | otherwise = show x -- This is x.to_string
if x > y -> true; otherwise -> false; end
Using otherwise makes it a loss less ugly, and I guess fixes the false cognate.