Exercise 9.4


applyEach :: [(a -> b)] -> a -> [b]
applyEach [] _ = []
applyEach (f:fs) x = f x : applyEach fs x

One response to “Exercise 9.4”

Leave a Reply

Your email address will not be published. Required fields are marked *