16 Apr 14:35 2013

## Monad fold

Christopher Howard <christopher.howard <at> frigidcode.com>

2013-04-16 12:35:39 GMT

2013-04-16 12:35:39 GMT

So, I'm doing something like this foldl (>>=) someA list :: Monad m => m a where list :: Monad m => [a -> m a], someA :: Monad m => m a Is there a more concise way to write this? I don't think foldM is what I want -- or is it? -- -- frigidcode.com

_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe