Is there any way to create nested control structure? For example I tried this. But I got error.
bmiTell :: (RealFloat a) => a -> String
bmiTell bmi = if bmi <= 18.5 then if bmi==16.0 then "asdasdasdsad"
else if bmi <= 25.0 then "You're supposedly normal. Pffft, I bet you're ugly!"
else if bmi <= 30.0 then "You're fat! Lose some weight, fatty!"
else "You're a whale, congratulations!"