Dear All,

banging my head against Haskell, but liking the feeling of hurting
brains. Just a simple question:

If

fmap (^4) [1,2,3] >>= \i -> shows i " "

gives

"1 16 81 "

then why does 

let i = fmap (^4) [1,2,3] in shows i " "

give

"[1,16,81] "

Probably very simple, but there must be a delicate difference between
these two expressions. I just don't get it.
-- 
Harri Kiiskinen <[EMAIL PROTECTED]>

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to