<div>Maybe you mean that&nbsp;</div><div><br></div><div>f :: Int -&gt; Int -&gt; Int&nbsp;</div><div><br></div><div>does not say much about what the function does since the Int arguments have no &quot;name&quot; in Haskell?</div><div>
<br></div><div>E.g. the following might &quot;mean&quot; more, but is not valid Haskell:</div><div><br></div><div><div>f :: numerator:Int -&gt; denominator:Int -&gt; quotient:Int&nbsp;</div><div><br></div><div>In Haskell you regularly see documentation that says: &quot;the 4th argument of dpSwitch is ..., the 7th argument of dpSwitch is ...&quot;&nbsp;</div>
<div><br></div><div>That&#39;s okay, since it trains you at counting :-) Of course, I&#39;m being sarcastic.&nbsp;</div><div><br></div><div>But most of the time, this is not an issue, since functions usually only have a few arguments, or have argument types that tell more.</div>
<div><br></div></div><div><div class="gmail_quote">2009/2/5 TKM <span dir="ltr">&lt;<a href="mailto:temp.public@gmail.com">temp.public@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div style="padding-right:10px;padding-left:10px;padding-top:15px" name="Compose message area">
<div><font face="Arial" size="2">Hello,</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I&#39;m kind of new with Haskell and I would like to 
know about the following:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">[some function]:: Int -&gt; Int -&gt; 
Int</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Now is my question, how should I interpret &quot;Int 
-&gt; Int -&gt; Int&quot;? Meaning what does &quot;Int -&gt; Int -&gt; Int&quot; 
mean?</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Thank you for answering my question.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Kind Regards, JTKM</font></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>