[Scheme-reports] DELAY AND FORCE
Andre van Tonder 23 Apr 2011 22:19 UTC
Some comments:
p 14: Waddell showed a long time ago that DELAY and FORCE are not
the correct primitives for lazy evaluation in a strict language.
In short, it is impossible to write properly iterative lazy programs that
don't have memory leaks with just DELAY and FORCE. This is discussed in
more detail in SRFI 45 and references therein.
Since the original Scheme report took so much trouble to get iterative
tail recursion right, it would be a shame if the report got lazy
evaluation wrong again - I believe DELAY and FORCE were removed from
(R6RS BASE) for this reason among others. I would suggest removing
DELAY and FORCE from WG1 as well.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports