| Did you know ... | Search Documentation: |
| class code_vector |
Argument vector that holds function
objects without evaluating them. A code_vector is a
subclass of vector whose elements have type
any|function; storing a function does not invoke it. Used
by the virtual machine for:
message and ?
(class obtain);any ...,
etc.);->send_vector
and the related hooks.
The only difference from vector is type-checking: vector
declares its elements of type object, forcing functions to
evaluate on assignment, while code_vector accepts
unevaluated functions and leaves them alone.
->send_vector
|function
...|function
...|function|function,
from=[int], to=[int][from, to] with the same value
(defaults to the whole vector).
[] (a Prolog empty list) into an empty code_vector.
Used by the type-checker.