rendered paste bodyGHCi, version 7.0.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Prelude> let toUpperStr s = map toUpper s
<interactive>:1:24: Not in scope: `toUpper'
Prelude> import Char
Prelude Char> let toUpperStr s = map toUpper s
Prelude Char> print =<< toUpperStr <$> getContents
<interactive>:1:22: Not in scope: `<$>'
Prelude Char> import Control.Applicative
Prelude Char Control.Applicative> print =<< toUpperStr <$> getContents
"hello
HELLO\nworld
WORLD\nhow
HOW\nare
ARE\nyou
YOU\n
\n
\n
\n