Exercise 13.13
More Suggestions
The queue is represented as a two-element vector, with the first element
referring to the queue's start, and the second element to its tail.
The actual elements (nodes) of the queue are represented as mutable pairs
(mconses), so they will be accessed with:
- mcar: for the item represented by the node
- mcdr: for the node following this node in the queue
When changing what follows a node in the queue, use set-mcdr!.
Suggestions for the ADT operations on next slide.