set-namestack ( namestack -- ) (original) (raw)

set-namestack ( namestack -- )
Factor handbook » The language » Dynamic variables » Namespace implementation details

Prev: get-namestack ( -- namestack )
Next: namespace ( -- namespace )

Vocabulary
namespaces

Inputs

namestack a vector of assocs

Outputs
None

Word description
Replaces the namestack with a copy of the given vector.

Definition

USING: namespaces.private vectors ;

IN: namespaces

: set-namestack ( namestack -- ) >vector (set-namestack) ;