I am a complete beginner at Haskell and got stuck at this.
I want to write a function that returns True
if all 3 arguments are different from each other and give False
if they are similar.
threeArguments :: Int -> Int -> Int -> Bool
threeArguments a b c = if a /= b && a /= c && b /= c
then return true
else return False
But I get error saying
• Couldn't match expected type ‘Bool’ with actual type ‘m0 a0’