
Nick Name wrote:
I repeat for the last time, lazy lists are one of the fundamental data structures in a lazy language; it's necessary to have them, not because I say so, but because people USE them today. So remember this when you'll be done with the core. Streams are *not* an alternative to Fran. They are just a convenient wrapper over an all monadic program.
Just notice the following functions in the base libraries: getContents, hGetContents, readFile, getChanContents, and (newStdGen >>= return . randoms).
All of the above except the last one are useless for real-world
programs; primarily because they over-simplify.
Attempting to apply the same approach to a GUI library will fail for
similar reasons, but to an even greater extent.
--
Glynn Clements