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


38.2 Inspecting deque objects

The following syntactic bindings are exported by the library (vicare containers deques). The syntactic bindings whose name is prefixed with $ are unsafe operations: they do not validate their arguments before accessing them.

Function: deque-empty? deque
Function: $deque-empty? deque

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

Function: deque-not-empty? deque
Function: $deque-not-empty? deque

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

Function: deque-size? deque
Function: $deque-size? deque

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