Handbook
Glossary
sequence>deque ( sequence -- deque )
Persistent deques
Prev:
<deque> ( -- deque )
Next:
deque-empty? ( deque -- ? )
Vocabulary
persistent
.
deques
Inputs
sequence
a
sequence
Outputs
deque
a
deque
Word description
Given a sequence, creates a deque containing those elements in the order such that the beginning of the sequence is on the front and the end is on the back.
Definition
USING:
sequences
;
IN:
persistent.deques
:
sequence>deque
( sequence -- deque )
<deque>
[
push-back
]
reduce
;