Next: vectors views, Previous: vectors intro, Up: vectors [Index]
In order to simplify text in this documentation section, the values of a vector are called items.
The following naming convention holds:
!
are side–effecting variants.
What values these procedures return is usually not specified.
Direction | Suffix |
---|---|
left-to-right | ?none |
right-to-left | –right |
both | –both |
In the procedure specifications:
0 <= start <= past <= (vector-length s)
for the corresponding argument vec. They typically restrict a procedure’s action to the indicated subvector; when start equals past the selected subvector is the empty vector.
An argument followed by ...
means zero–or–more elements. So
the procedure with the signature:
sum-squares x ...
takes zero or more arguments (x, …), while the procedure with signature:
spell-check doc dict1 dict2 ...
takes two mandatory arguments (doc and dict1) and zero or more optional arguments (dict2 ...).
If a procedure is said to return “unspecified”, this means that nothing at all is known about what the procedure returns. Such a procedure is not even required to be consistent from call to call. It is simply required to return a value (or values) that may be passed to a command continuation, e.g. as the value of an expression appearing as a non–terminal subform of a begin expression.
Next: vectors views, Previous: vectors intro, Up: vectors [Index]