caiorss/Functional-Programming

Missing function definition for 'shout'

Closed this issue · 0 comments

Unless I'm missing something, I think you may have dropped the definition of the function shout :: [Char] -> [Char] from your tutorial (in the section "Combining functions and I/O actions") ...

Maybe you meant to have something like:

shout :: String -> String
shout line = toUpper <$> line

?