[Haskell-cafe] how to apply a function which returns IO() to a list?

Stefan Holdermans stefan at cs.uu.nl
Wed Jun 14 05:53:41 EDT 2006


Nuno,

Oops... Of course I meant

   mapM_ :: (a -> IO b) -> [a] -> IO ()

instead of

   mapM_ :: (a -> IO b) -> [a] -> m ()

Regards,

   Stefan


More information about the Haskell-Cafe mailing list