my knowledge of point-free is from category theory. in what sense is Haskell point-free handle namespace pollution?<br><br>Kind regards, Vasili<br><br><div class="gmail_quote">On Fri, May 30, 2008 at 3:23 AM, Jonathan Cast &lt;<a href="mailto:jonathanccast@fastmail.fm">jonathanccast@fastmail.fm</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 30 May 2008, at 12:29 AM, Galchin, Vasili wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
compactness in writing and also namespace pollution .. ;^)<br>
</blockquote>
<br></div>
I know what the advantages of C&#39;s notation are. &nbsp;But getting the best notation out of Haskell generally doesn&#39;t happen by trying to make your code look like C.<br>
<br>
So the general answer to questions of the form `C can do x; can Haskell&#39; is `No&#39;. &nbsp;Don&#39;t do it like in C. &nbsp;It won&#39;t be idiomatic, it won&#39;t be elegant, and neither of us will like the results. &nbsp;Understand the features of Haskell that make your program compact, point-free (how Haskell handles namespace pollution), and elegant and use those. &nbsp;This will require a different factoring of your program vs. C. &nbsp;Sorry, but that&#39;s life.<br>

<br>
jcc<br>
<br>
</blockquote></div><br>