On Fri, 30 Nov 2007, Yitzchak Gale wrote: > Jerzy Karczmarczuk wrote: > > > The laziness, meant as deferred procedure calls *CAN* be used in Python, > > also in iterator context, through generators, that's true. But still there > > are no update'able automatically thunks, no lazy data! If generators remind > > me of something, it is co-routines. > > Yes, they are becoming co-routines, you > can now send data back into them. > > If I can put a lazy list comprehension in place of > a strict one, why is that not lazy data? > > Look, I am not arguing that this pseudo-laziness is a central feature of > Python, or that Python is close to being a functional language. I don't > think Henning meant to say that, either. But there are some features > like that, and they are very nicely done, people like them. Even before > I knew about Haskell, those were the features of Python that made me > really enjoy the language. So I agree with others who wrote that > pointing out beautiful Haskell-inspired or Haskell-like features in a > person's current favorite language might be a good way to encourage that > person to have a look at Haskell.
That was my point, yes. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe