[racket] arrangements exercise
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.