[Haskell-cafe] foldr (.) id

Greg Fitzgerald garious at gmail.com
Fri Oct 26 20:41:18 CEST 2012

Hi Haskellers,

I've recently found myself using the expression: "foldr (.) id" to compose
a list (or Foldable) of functions.  It's especially useful when I need to
map a function over the list before composing.  Does this function, or the
more general "foldr fmap id", defined in a library anywhere?  I googled and
hoogled, but no luck so far.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121026/8b5456b6/attachment.htm>

More information about the Haskell-Cafe mailing list