> > fmap (^4) [1,2,3] >>= \i -> shows i " " > > gives > > "1 16 81 " > You are in the list comprehension in a monadic expression. shows is called three times (i is int).
> then why does > > let i = fmap (^4) [1,2,3] in shows i " " > > give > > "[1,16,81] " > "shows" is called once (i is a list). _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe