[ library(queues) | Reference Manual | Alphabetic Index ]
list_join_queue(List, OldQueue, NewQueue)
adds the new elements at the end of the queue
Description
adds the new elements at the end of the queue. The elements are
added in the same order that they appear in the list, e.g.
list_join_queue([y,z], [a,b,c|M]-M, [a,b,c,y,z|N]-N).