Namespace implementation details - Factor Documentation (original) (raw)

Namespace implementation details
Factor handbook » The language » Dynamic variables

Prev: Namespace combinators

The namestack holds namespaces.
get-namestack ( -- namestack )
set-namestack ( namestack -- )
namespace ( -- namespace )

A pair of words push and pop namespaces on the namestack.

>n ( namespace -- )

ndrop ( -- )