fre 2003-01-24 klockan 13.21 skrev Chris Clearwater: > I wonder if I could run an idea I've had by this list. It seems to > me you could get some of the desired effects of lazy evaluation by using > continuation passing style in code. For example, take this psuedo-code > using CPS to represent an infinite data type.
Yes, you can simulate lazy evaluation. But the point is that we don't want to simulate it, we want it built-in into the language, for optimization purposes. Regards, Martin -- Martin Norbäck [EMAIL PROTECTED] Kapplandsgatan 40 +46 (0)708 26 33 60 S-414 78 GÖTEBORG http://www.dtek.chalmers.se/~d95mback/ SWEDEN OpenPGP ID: 3FA8580B _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell