with-variables ( ns quot -- )
Factor handbook » The language » Dynamic variables » Namespace combinators

Prev:with-variable ( value key quot -- )


Vocabulary
namespaces

Inputs
nsan assoc
quota quotation


Outputs
None

Word description
Calls the quotation in the dynamic scope of ns. When variables are looked up by the quotation, ns is checked first, and setting variables in the quotation stores them in ns.

Definition