delete-ref ( ref -- )
Factor handbook » The language » Collections » References » Reference protocol

Prev:set-ref ( obj ref -- )


Vocabulary
refs

Inputs
refa ref


Outputs
None

Word description
Deletes the value pointed to by this reference. In most references this simply sets the value to f, but in some cases it is more destructive, such as in value-ref and key-ref, where it actually deletes the entry from the underlying assoc.

See also
take

Definition


Methods