[Haskell-cafe] Map list of functions over a single argument

Paul Moore p.f.moore at gmail.com
Tue Feb 20 11:25:48 EST 2007


On 20/02/07, David Roundy <droundy at darcs.net> wrote:
> It's rather a small function to bother putting in the libraries, and I
> think better expressed using map directly:
>
> rmap fs x = map ($ x) fs

Yes. Now that I know the idiom, there's clearly little point in having
a named function for it.

Thanks,
Paul.


More information about the Haskell-Cafe mailing list