[racket] arrangements exercise

From: Sean Kemplay (sean.kemplay at gmail.com)
Date: Thu Jul 12 17:29:50 EDT 2012

Thanks Matthias for yet again looking at my attempt at this exercise!

Agreed Stephen, yes the purpose statement is not as clear as it could be.

Great list, great book, great software.

Regards,
Sean Kemplay


On Thu, Jul 12, 2012 at 10:21 PM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> On Jul 12, 2012, at 5:14 PM, Stephen Bloch wrote:
>
>> The only quibble I would raise is with the purpose statement for "make-words":
>>> ;; make-words symbol list of words -> list of words
>>> ;; Given a symbol and a list of (partial) words, start
>>> ;; back filling with the symbol producing a new list of words
>>
>> What dos this mean?
>>
>>> (check-expect (make-words 'b empty) empty)
>>> (check-expect (make-words 'b '((a))) '((b a)))
>>> (check-expect (make-words 'c '((b a) (a))) '((c b a) (c a)))
>
>
> That's precisely where examples come in.

Posted on the users mailing list.