 
      
      queue::pop()
	Retrieve and remove the head of the Queue, or return nothing if the Queue is empty	
	
queue::pop()There are no parameters.
any — Returns the head of the Queue, or return nothing if the Queue is empty
import adt/queue
 
queue = queue()
 
queue.push(10)
queue.push(12)
queue.push(8)
 
writeln(queue.pop())   ' Output: 10
writeln(queue.pop())   ' Output: 12
writeln(queue.pop())   ' Output: 8
writeln(queue.pop())   ' Output: nothing