the similar function: mapM :: Monad m => (a -> m b) -> [a] -> m [b]
should do the trick for you, and is in the prelude. /g _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe