On Wed, Jun 06, 2007 at 03:48:18PM +0200, Steffen Mazanek wrote:
> Hello,
>
> is there a function f::[a->b]->a->[b] in the libraries? Couldn't find one
> using
> hoogle although this seems to be quite a common thing...
>
>
> Steffen
Just to add to what others have said, yet another way to impl
On 06/06/07, Steffen Mazanek <[EMAIL PROTECTED]> wrote:
Hello,
is there a function f::[a->b]->a->[b] in the libraries? Couldn't find one
using
hoogle although this seems to be quite a common thing...
Possibly it's just too small to bother putting in a separate function.
let fs = [ (*2), (+2
On 06/06/07, Steffen Mazanek <[EMAIL PROTECTED]> wrote:
Hello,
is there a function f::[a->b]->a->[b] in the libraries? Couldn't find one
using hoogle although this seems to be quite a common thing...
I asked basically this a few months back. Have a look at
http://www.haskell.org/pipermail/hask
Steffen Mazanek wrote:
> Hello,
>
> is there a function f::[a->b]->a->[b] in the libraries? Couldn't find one
> using
> hoogle although this seems to be quite a common thing...
As far as I know, there is no standard function doing that, though it is
easily implemented:
mapApply xs x = map ($ x)
Hello,
is there a function f::[a->b]->a->[b] in the libraries? Couldn't find one
using
hoogle although this seems to be quite a common thing...
Steffen
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/hask