chickadee » srfi-117 » list-queue-remove-back!

list-queue-remove-back! list-queueprocedure

Removes the last element of list-queue and returns it. If the list queue is empty, it is an error. This operation is O(n) where n is the length of list-queue, because queues do not not have backward links.