Handbook
Glossary
pop-back ( deque -- obj )
Factor handbook
»
The language
»
Collections
»
Deques
Prev:
pop-front ( deque -- obj )
Next:
slurp-deque ( ... deque quot: ( ... obj -- ... ) -- ... )
Vocabulary
deques
Inputs
deque
a
deque
Outputs
obj
an
object
Word description
Pop the object off the back of the deque and return the object.
Notes
This operation is O(1).
Definition
USING:
kernel
;
IN:
deques
:
pop-back
( deque -- obj )
[
peek-back
]
[
pop-back*
]
bi
;
inline