[Haskell-beginners] forM vs mapM

Gaius Hammond Gaius at Gaius.org.UK
Thu Aug 19 06:02:22 EDT 2010


Hi all,


Can anyone give me an example of a situation where you would use forM but *not* mapM or vice versa? As far as I can see one is simply a flip of the other. Does forM make any guarantees about order of execution?


Thanks,


G



------------------


More information about the Beginners mailing list