[plt-scheme] Re: HTDP Exercise 12.4.2 ... Help!

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Tue Apr 28 09:25:30 EDT 2009

On Apr 27, 2009, at 5:29 PM, S Brown wrote:

> What I ended up doing was creating a helper function to insert-
> everywhere, which takes 3 arguments, the front of the word, the
> symbol, and the back of the word. insert-everywhere doesn't do
> anything except make the initial call to the insert-everywhere-helper
> function, which does the actual work of inserting the letter into the
> word.

That's one reasonable way to do it.  It requires a little more  
ingenuity and creativity than just following the recipe; how would  
you have solved it if you hadn't had that particular flash of insight?


Stephen Bloch
sbloch at adelphi.edu



Posted on the users mailing list.