[Haskell-cafe] map in IO

J. Garrett Morris trevion at gmail.com
Sun Sep 25 16:10:16 EDT 2005


the similar function:

mapM :: Monad m => (a -> m b) -> [a] -> m [b]

should do the trick for you, and is in the prelude.

 /g


More information about the Haskell-Cafe mailing list