deques vocabulary
Factor handbook > Vocabulary index


Documentation
Deques

Meta-data
Tags:collections
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
empty-deque tuple


Mixin classes
deque


Generic words
WordStack effect
clear-deque( deque -- )
delete-node( node deque -- )
deque-empty?( deque -- ? )
deque-member?( value deque -- ? )
node-value( node -- value )
peek-back*( deque -- obj ? )
peek-front*( deque -- obj ? )
pop-back*( deque -- )
pop-front*( deque -- )
push-back*( obj deque -- node )
push-front*( obj deque -- node )


Ordinary words
WordStack effect
?peek-back( deque -- obj/f )
?peek-front( deque -- obj/f )
empty-deque( -- * )
peek-back( deque -- obj )
peek-front( deque -- obj )
pop-back( deque -- obj )
pop-front( deque -- obj )
push-all-back( seq deque -- )
push-all-front( seq deque -- )
push-back( obj deque -- )
push-front( obj deque -- )
slurp-deque( ... deque quot: ( ... obj -- ... ) -- ... )


Class predicate words
WordStack effect
deque?( object -- ? )
empty-deque?( object -- ? )


Files