Saturday, July 25, 2009

Ex-3.21

Eva Lu is trying to say that for scheme standard print procedure its not a special data structure called queue but just another pair that contains other pairs. So, print simply prints what is inside the queue *pair*.
(define (print-queue queue)
(display (front-ptr queue)))

No comments:

Post a Comment