[Haskell-cafe] Haskell from SML - referrential Transparency?!

Felipe Almeida Lessa felipe.lessa at gmail.com
Tue Apr 19 21:26:00 CEST 2011


On Tue, Apr 19, 2011 at 4:10 PM, Gregory Guthrie <guthrie at mum.edu> wrote:
> and I get different results from the two executions (f1,f2), even though
> they have exactly the same definition. Reversing their order, gives the
> exact same results (i.e. the results are still different, and in the same
> original order as f2;f1). Even doing   (f1;f1) gives two different results.

This shows that referential transparency is working nicely.

-- 
Felipe.



More information about the Haskell-Cafe mailing list