title: The While Loop in Racket
body: <p>Write a procedure in Racket that act like the "while loops" in languages like Java.  A while loop takes two pieces of code to run: a condition and a body.  it runs the body, then tries the condition again, running the body again if it's true.  This continues until the condition returns false.  </p>
  
  <p>this is how I started on it: then I got stuck.</p>
  
  <pre><code>(define (while condition body)
     (when (true? condition)
         (cons (proc body) (proc (rest body)))
  </code></pre>