At the command line:
Open in Terminal
in the pop-up menucd cs101
mkdir lab7
Start on lab 7
water-running?
.add-gossip
which takes a rumor mill and two person images: an old person who is already in the rumor mill and a new person. It produces the new augmented rumor mill. Add the new person to the rumor mill, receiving rumors from the old person. The old person must not already have two next persons.rumor-chain
which takes a person image and a rumor mill and returns a list of person images representing everyone who must pass on a rumor for it to reach the given person. Return #false if the given person is never informed.drip
, which turns on all the faucets in the pipeline. Don't forget to follow the Design Recipe, which means writing tests (check-expect
's) before you write the function body, and using the template for a pipeline as the starting point for the function body. You should have at least five (5) tests for this function.modernize
function as specified in the starter code, following the Design Recipe. Log out
When you are done, close DrRacket by choosing Quit
from the File menu, and then locate the logout option on the menu bar (lower right corner). Choose "Logout…" and follow any remaining prompts. Always remember to log out when you are done using the system, to ensure that no one else uses your account.