I have a block of code
main = do
args <- getArgs --args is a list.
...
let finalMappedContents = addUpSameWord mappedContents
For the final IO statement, I want to print out the type of finalMappedContents. How can I do this? I know of the typeOf function, but I'm not completely sure how to use that here.