[Haskell-beginners] stream of monadic calculations

Felipe Almeida Lessa felipe.lessa at gmail.com
Tue Oct 2 20:16:03 CEST 2012


On Tue, Oct 2, 2012 at 3:13 PM, Daniel Trstenjak
<daniel.trstenjak at gmail.com> wrote:
> foldM (\a f -> f a) a [f, g, h]

This solution will work only if f, g and h all have the same types.

Cheers,

-- 
Felipe.



More information about the Beginners mailing list