Next: , Previous: , Up: queues   [Index]


37.2 Inspecting queue objects

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.

Function: queue-empty? queue
Function: $queue-empty? queue

Return #t if queue is empty; otherwise return #f.

Function: queue-not-empty? queue
Function: $queue-not-empty? queue

Return #t if queue is not empty; otherwise return #f.

Function: queue-size? queue
Function: $queue-size? queue

Return an exact integer representing the number of objects in queue.