
23 Nov
2012
23 Nov
'12
11:14 a.m.
On 20/11/12 20:14, John Wiegley wrote:
Fairly obvious, but strangely missing.
compose :: [(a -> a)] -> a -> a compose = foldr (.) id
I have never used this function in a generic setting, but I do often use concatShows :: [ShowS] -> ShowS concatShows = foldr (.) id Twan