<div dir="ltr">In type section of the Gentle Introduction to Haskell <a href="http://www.cs.sfu.ca/CC/SW/Haskell/hugs/tutorial-1.4-html/moretypes.html">http://www.cs.sfu.ca/CC/SW/Haskell/hugs/tutorial-1.4-html/moretypes.html</a> there is this example:<br>
<br clear="all"><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><tt><br>
data&nbsp;Point&nbsp;=&nbsp;Pt&nbsp;{pointx,&nbsp;pointy&nbsp;::&nbsp;Float}</tt></blockquote><div>&nbsp;</div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><tt></tt><tt>
abs&nbsp;(Pt&nbsp;{pointx&nbsp;=&nbsp;x,&nbsp;pointy&nbsp;=&nbsp;y})&nbsp;=&nbsp;sqrt&nbsp;(x*x&nbsp;+&nbsp;y+y)&nbsp;</tt></blockquote><div><br>Why is it pointx=x and not x=pointx? <br></div><tt>

</tt><br>-- <br>Daryoush<br><br>Weblog: <a href="http://perlustration.blogspot.com/">http://perlustration.blogspot.com/</a><br>
</div>