Handbook
Glossary
Bit vectors
A bit vector is a resizable mutable sequence of bits. Bit vector words are found in the
bit-vectors
vocabulary.
Bit vectors form a class:
bit-vector
bit-vector?
( object -- ? )
Creating bit vectors:
>bit-vector
( seq -- vector )
<bit-vector>
( capacity -- vector )
Literal syntax:
?V{
If you don't care about initial capacity, a more elegant way to create a new bit vector is to write:
?V{ } clone