[racket] arrangements exercise

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu Jul 12 17:21:22 EDT 2012

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.