sayHello :: String -> IO () sayHello x = putStrLn ("Hello, " ++ x ++ "!") triple x = x * 3 thirdLetter :: String -> Char thirdLetter x = x !! 2 letterIndex :: Int -> Char letterIndex = (!!) "Curry is awesome!"