[Haskell-beginners] High order function beggining doubt

David Flicker dtflicker at gmail.com
Thu Jul 4 01:46:28 CEST 2013


Hey Igor,

Try using a map and then the function composition operator ".".
Something like

annexer func list = map (\x -> (func . x)) list

Kind regards,

David


On Wed, Jul 3, 2013 at 7:42 PM, Igor Pinheiro Leão <ivpcl at cin.ufpe.br>wrote:

> Oops, my bad.
> *with.
>
>
> 2013/7/3 Igor Pinheiro Leão <ivpcl at cin.ufpe.br>
>
>> Hi there,
>> let a function whith the following signature:
>> annexer :: (b -> c) -> [a -> b] -> [a -> c]
>> How can i do that?
>>
>> Kind regards,
>> Igor
>>
>> --
>> Igor Vinícius
>> Graduando em Ciência da Computação
>>
>
>
>
> --
> Igor Vinícius
> Graduando em Ciência da Computação
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130703/0678bc68/attachment.htm>


More information about the Beginners mailing list