<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>
<DIV><FONT face="Courier New" size=2>It seems to me that in many cases the same
problem can be solved (for an eager evaluater) both by coroutines and by
streams. Both solutions very well show the structure of the principal algorithm
as might have been written with a lazy evaluator in mind. Which approach would
be preferred in terms of efficiency (time and memory). May be you would like to
address other aspects as well. One reason that makes me tend to choose streams,
is that the latter seem better suited to automatic code generation from purely
lazy code.</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Thanks,
Jos</FONT></DIV></FONT></DIV></BODY></HTML>