The importance of lazy evaluation
Ben Bitdiddle and Alyssa P. Hacker disagree over the importance of lazy evaluation for implementing things such as
. Ben points out that it's possible to implement
in applicative order as a special form. Alyssa counters that, if one did that,
would be merely syntax, not a procedure that could be used in conjunction with higher-order procedures. Fill in the details on both sides of the argument. Show how to implement
as a derived expression (like
), and give an example of a situation where it might be useful to have
available as a procedure, rather than as a special form.
There are no comments yet.
You must log in to post a comment.Login