No, Haskell functions take exactly one argument.<br><br><div class="gmail_quote">On Nov 14, 2007 1:05 AM, Robin Green &lt;<a href="mailto:greenrd@greenrd.org">greenrd@greenrd.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, 13 Nov 2007 13:51:13 -0800<br>&quot;Dan Piponi&quot; &lt;<a href="mailto:dpiponi@gmail.com">dpiponi@gmail.com</a>&gt; wrote:<br><br>&gt; Up until yesterday I had presumed that guards only applied to
<br>&gt; functions. But I was poking about in the Random module and discovered<br>&gt; that you can write things like<br>&gt;<br>&gt; a | x &gt; 1 = 1<br>&gt; &nbsp; | x &lt; -1 = -1<br>&gt; &nbsp; | otherwise = x<br>&gt;<br>&gt; where &#39;a&#39; clearly isn&#39;t a function.
<br><br></div>Isn&#39;t it a function taking zero arguments?<br>--<br><font color="#888888">Robin<br></font><div><div></div><div class="Wj3C7c">_______________________________________________<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></div></div>
</blockquote></div><br>