[Haskell-cafe] Signatures in defining functions

Miguel Mitrofanov miguelimo38 at yandex.ru
Thu Feb 5 18:08:27 EST 2009


It means Int -> (Int -> Int). -> is right associative.

On 6 Feb 2009, at 01:28, TKM wrote:

> Hello,
>
> I'm kind of new with Haskell and I would like to know about the  
> following:
>
> [some function]:: Int -> Int -> Int
>
> Now is my question, how should I interpret "Int -> Int -> Int"?  
> Meaning what does "Int -> Int -> Int" mean?
>
> Thank you for answering my question.
>
> Kind Regards, JTKM
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list