flushable
Factor handbook > The language > Words > Compiler declarations

Prev:foldable
Next:recursive


Vocabulary
syntax

Syntax
: foo ... ; flushable


Word description
Declares that the most recently defined word has no side effects, and thus calls to this word may be pruned by the compiler if the outputs are not used.

Note that many words are flushable but not foldable, for example clone and <array>.

Definition