I wrote a function that applies a list of functions to an item.
applyAll :: [a -> b] -> a -> [b] applyAll [] _ = [] applyAll (f:fs) x = (f x) : (a
This function actually already exists as a special case of a monadic function:
applyAll :: [a -> b] -> a -> [b] applyAll = sequence