2009/1/3 Xie Hanjian <span dir="ltr"><<a href="mailto:jan.h.xie@gmail.com">jan.h.xie@gmail.com</a>></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>
>Prelude> 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. That's part of the definition of function. :-)<br>
<br>Luke<br></div></div><br>