[Haskell-cafe] Signatures in defining functions
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:
> I'm kind of new with Haskell and I would like to know about the
> [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
More information about the Haskell-Cafe