Adding the capslock module
Removing useless asked input
simplifying using $
Simplifying using getContents.
Display only lines with length < 10
wow! interact :: (String -> String) -> IO ()
Output "palindrome" or "not a palindrome" depending on the nature of the
word present on each line
Simplifying the first program (just to upper each line) using interact.
Using the right module Data.Char to import the toUpper function.
openfile - how to read a file in haskell
Simplifying using withFile function to permit to not explicitely close
the handle (it's already dealt with)