No, Haskell functions take exactly one argument.<br><br><div class="gmail_quote">On Nov 14, 2007 1:05 AM, Robin Green <<a href="mailto:greenrd@greenrd.org">greenrd@greenrd.org</a>> 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>"Dan Piponi" <<a href="mailto:dpiponi@gmail.com">dpiponi@gmail.com</a>> wrote:<br><br>> Up until yesterday I had presumed that guards only applied to
<br>> functions. But I was poking about in the Random module and discovered<br>> that you can write things like<br>><br>> a | x > 1 = 1<br>> | x < -1 = -1<br>> | otherwise = x<br>><br>> where 'a' clearly isn't a function.
<br><br></div>Isn'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>