
3 Jan
2009
3 Jan
'09
8:46 p.m.
2009/1/3 Xie Hanjian
Hi,
I tried this in ghci:
Prelude> 1:2:[] == 1:2:[] True
Does this mean (:) return the same object on same input,
Also, in functional programming, *every* function returns the same output for the same input. That's part of the definition of function. :-) Luke