Next: queues searching, Previous: queues folding, Up: queues [Index]
The following syntactic bindings are exported by the library
(vicare containers queues)
. The syntactic bindings whose name
is prefixed with $
are unsafe operations: they do not
validate their arguments before accessing them.
Iterate over all the objects in src-queue, starting from the front side, apply fun to them, push the result of the application in the rear side of dst-queue.
(queue->list (queue-map-left (queue) - (queue 0 1 2 3))) ⇒ (0 -1 -2 -3)
The dst-queue argument allows us to build the destination queue with the desired configuration parameters.
Iterate over all the objects in src-queue, starting from the rear side, apply fun to them, push the result of the application in the front side of dst-queue.
(queue->list (queue-map-right (queue) - (queue 0 1 2 3))) ⇒ (0 -1 -2 -3)
The dst-queue argument allows us to build the destination queue with the desired configuration parameters.
Aliases for queue-map-left
and $queue-map-left
.
Iterate over all the objects in queue, starting from the front side, and apply fun to them discarding the return value.
Iterate over all the objects in queue, starting from the rear side, and apply fun to them discarding the return value.
Aliases for queue-for-each-left
and $queue-for-each-left
.
Next: queues searching, Previous: queues folding, Up: queues [Index]