[Haskell-cafe] Monad fold
christopher.howard at frigidcode.com
Tue Apr 16 14:35:39 CEST 2013
So, I'm doing something like this
foldl (>>=) someA list :: Monad m => m a
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 555 bytes
Desc: OpenPGP digital signature
More information about the Haskell-Cafe