2009/1/3 Xie Hanjian <span dir="ltr">&lt;<a href="mailto:jan.h.xie@gmail.com">jan.h.xie@gmail.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I tried this in ghci:<br>
&gt;Prelude&gt; 1:2:[] == 1:2:[]<br>
True<br>
<br>
Does this mean (:) return the same object on same input,</blockquote><div><br>Also, in functional programming, <i>every</i> function returns the same output for the same input.&nbsp; That&#39;s part of the definition of function.&nbsp; :-)<br>
<br>Luke<br></div></div><br>