[Haskell-cafe] Trouble with currying and uncurrying...
Angel de Vicente
angelv at iac.es
Mon Apr 25 15:32:31 CEST 2011
Hi,
On 25/04/11 14:20, Ozgur Akgun wrote:
> On 25 April 2011 14:11, Angel de Vicente <angelv at iac.es
> <mailto:angelv at iac.es>> wrote:
>
> curry :: ((a,b) -> c) -> (a -> b -> c)
>
>
> is the same as:
>
> curry :: ((a,b) -> c) -> a -> b -> c
thanks, it makes sense now. Somehow I thought that adding the
parenthesis in ...-> (a -> b -> c) was something special and that I
couldn't get rid of them (in the same sense as I cannot get rid of the
parenthesis in the first part and write:
curry :: (a,b) -> c -> a -> b -> c
Thanks,
Ãngel
--
http://www.iac.es/galeria/angelv/
High Performance Computing Support PostDoc
Instituto de AstrofÃsica de Canarias
---------------------------------------------------------------------------------------------
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en
More information about the Haskell-Cafe
mailing list