[plt-scheme] HtDP 12.4.2 Design Recipe Blues

From: Mark Engelberg (mark.engelberg at gmail.com)
Date: Sun Mar 2 21:10:07 EST 2008

Showing your test cases would be helpful, so we can see exactly what you've
tested.

One thing I notice right off the bat is that your function
insert-everywhere/in-all-words doesn't fulfill the stated contract.
In particular, the else clause doesn't return a list of words.
(consing a list of words on to a list of words doesn't yield another list of
words.  You probably meant to use append.)

--Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080302/6c48d80a/attachment.html>

Posted on the users mailing list.