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.