Queue.traverse3kaya
Iteration over queues
Usage
Void traverse( Bool(a, Int) block, Queue<a> q )
Arguments
block The block of code to execute for each queue element.
list The queue to traverse
Overview
Used by for loops to traverse Queue.Queue (3kaya) data structure. It is unlikely that you will need to call this function directly.
Iteration over a queue does not dequeue elements in the queue.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.