2009/1/3 Xie Hanjian <[email protected]>

> 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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to