Handbook
Glossary
peek-back ( deque -- obj )
Factor handbook
»
The language
»
Collections
»
Deques
Prev:
peek-front ( deque -- obj )
Next:
deque-empty? ( deque -- ? )
Vocabulary
deques
Inputs
deque
a
deque
Outputs
obj
an
object
Word description
Returns the object at the back of the deque.
Errors
Throws an error if the deque is empty.
Definition
USING:
kernel
;
IN:
deques
:
peek-back
( deque -- obj )
peek-back*
[
drop
empty-deque
]
unless
;
inline