(define spiral (lambda (angle len n) (if (= n 0) (adjoin) (adjoin (bend angle) (straight len) (spiral angle (add1 len) (sub1 n))))))Rewrite spiral so that it is tail-recursive. You are free to use any helper-functions you may require.
>(marroquin 9) #<struct:graphic> >
* This webpage is located at http://cs.unm.edu/~williams/cs257/homework5s06.html