Dan had some thoughts on this next section that we implemented but then reverted. Here are the edits that were made and removed:
- Write a reporter
that takes any part of a person's name as input, and reports a list of all the phone numbers of the people whose names match. You will need:
- (instead of
empty
) c.
, which performs a function over each item of the list.
The problem with these unimplemented edits was that they required more complicated programming than is appropriate for this point in the curriculum. It would, of course, be nice if the program handled the case of multiple search results better than just returning the first one, and that should be addressed at a later point. --Aug 2016