Out: Thursday, 10/22/09
Due: Thursday, 10/29/09
Here is the second half of the problem set. I've repeated the first two questions for reference.
interps/mutable-pairs as well.
vector-set!. Your interpreter should run unaltered,
except for changing (require "store.scm") to
(require "store-using-vector.scm") (or whatever).
print statement should still do actual
printing.print into the
monad instead of doing it. In this model, printing is not done as
the execution of the program proceeds. Instead,
execute-program (note that I've removed the exclamation
point!) will return the list of values printed by the program.For this problem, turn in two sets of modules, in directories named
mp5-3 and mp5-4.
As before, you do not need to write any specifications; we'll get to that later in the term.
There is a lot of literature out there explaining monads. Feel free to use it, and to share the sources you have found with your classmates. You can use the cs7400 mailing list for this purpose.
Last modified: Tue Nov 03 14:10:58 Eastern Standard Time 2009