Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add: 3.21

  • Loading branch information...
commit 474f2746af8f4234793ffe314436d3f1efb03368 1 parent 617c0d2
@qiao authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 chapter3/3.21.scm
6 chapter3/3.21.scm
@@ -0,0 +1,6 @@
+;; What the interpreter prints is the cons of front-ptr and rear-ptr.
+;; In order to print the queue properly, we should print what front-ptr
+;; points to.
+(define (print-queue q)
+ (print (front-ptr q)))
Please sign in to comment.
Something went wrong with that request. Please try again.