Previous section: Operations on Arrays
Dylan reference manual -- Operations on Deques
Operations on Deques
push deque new-value => deque [Generic Function]
push
augments deque by adding new-value to the front of the deque.
pop deque => first-element [Generic Function]
pop
removes the first element from deque and returns it.
push-last deque new-value => deque [Generic Function]
push-last
augments deque by adding new-value to the end of the deque.
pop-last deque => last-element [Generic Function]
pop-last
removes the last element from deque and returns it.
add! deque new-value => deque [G.F. Method]
This
method is the same as push. That is, the result is == to
deque, and deque is destructively modified by this operation.
remove! deque value #key test count => deque [G.F. Method]
The
result of remove! on a deque is == to the deque
argument. deque is destructively modified by this operation.
Next section: Operations on Lists