>>>>> Thiago Negri <evoh...@gmail.com> writes: > Can you please show some examples where it might be useful? > I miss the point.
I guess if he already has a list of functions, Endo won't help. Endo just lets you treat functions as monoids, so you can foldMap, etc. In that case, foldr (.) id is pretty idiomatic, and Google turns up several uses of it. John _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe