All pastes #2132418 Raw Edit

Mine

public text v1 · immutable
#2132418 ·published 2012-03-27 07:04 UTC
rendered paste body
GHCi, 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