previous | index | next

pop!

Must:
  1. Check for empty stack

  2. Decrement height

  3. Return the modified stack
     (define pop!
       (lambda (ra-stack)
	 (if (empty-ra-stack? ra-stack) ;; 1
            (error "POP!: attempted pop from an empty stack")
            (____________))))

previous | index | next